(workInProgress)
| 9312 | } |
| 9313 | |
| 9314 | function pushHostRootContext(workInProgress) { |
| 9315 | var root = workInProgress.stateNode; |
| 9316 | if (root.pendingContext) { |
| 9317 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 9318 | } else if (root.context) { |
| 9319 | // Should always be set |
| 9320 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 9321 | } |
| 9322 | pushHostContainer(workInProgress, root.containerInfo); |
| 9323 | } |
| 9324 | |
| 9325 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 9326 | pushHostRootContext(workInProgress); |
no test coverage detected