(workInProgress)
| 17327 | } |
| 17328 | |
| 17329 | function pushHostRootContext(workInProgress) { |
| 17330 | var root = workInProgress.stateNode; |
| 17331 | |
| 17332 | if (root.pendingContext) { |
| 17333 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 17334 | } else if (root.context) { |
| 17335 | // Should always be set |
| 17336 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 17337 | } |
| 17338 | |
| 17339 | pushHostContainer(workInProgress, root.containerInfo); |
| 17340 | } |
| 17341 | |
| 17342 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 17343 | pushHostRootContext(workInProgress); |
no test coverage detected