(workInProgress)
| 9951 | } |
| 9952 | |
| 9953 | function pushHostRootContext(workInProgress) { |
| 9954 | var root = workInProgress.stateNode; |
| 9955 | if (root.pendingContext) { |
| 9956 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 9957 | } else if (root.context) { |
| 9958 | // Should always be set |
| 9959 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 9960 | } |
| 9961 | pushHostContainer(workInProgress, root.containerInfo); |
| 9962 | } |
| 9963 | |
| 9964 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 9965 | pushHostRootContext(workInProgress); |
no test coverage detected