(workInProgress)
| 9184 | } |
| 9185 | |
| 9186 | function pushHostRootContext(workInProgress) { |
| 9187 | var root = workInProgress.stateNode; |
| 9188 | if (root.pendingContext) { |
| 9189 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 9190 | } else if (root.context) { |
| 9191 | // Should always be set |
| 9192 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 9193 | } |
| 9194 | pushHostContainer(workInProgress, root.containerInfo); |
| 9195 | } |
| 9196 | |
| 9197 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 9198 | pushHostRootContext(workInProgress); |
no test coverage detected