(workInProgress)
| 20887 | } |
| 20888 | |
| 20889 | function pushHostRootContext(workInProgress) { |
| 20890 | var root = workInProgress.stateNode; |
| 20891 | |
| 20892 | if (root.pendingContext) { |
| 20893 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 20894 | } else if (root.context) { |
| 20895 | // Should always be set |
| 20896 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 20897 | } |
| 20898 | |
| 20899 | pushHostContainer(workInProgress, root.containerInfo); |
| 20900 | } |
| 20901 | |
| 20902 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 20903 | pushHostRootContext(workInProgress); |
no test coverage detected