(workInProgress)
| 10089 | } |
| 10090 | |
| 10091 | function pushHostRootContext(workInProgress) { |
| 10092 | var root = workInProgress.stateNode; |
| 10093 | if (root.pendingContext) { |
| 10094 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 10095 | } else if (root.context) { |
| 10096 | // Should always be set |
| 10097 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 10098 | } |
| 10099 | pushHostContainer(workInProgress, root.containerInfo); |
| 10100 | } |
| 10101 | |
| 10102 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 10103 | pushHostRootContext(workInProgress); |
no test coverage detected