(workInProgress)
| 10044 | } |
| 10045 | |
| 10046 | function pushHostRootContext(workInProgress) { |
| 10047 | var root = workInProgress.stateNode; |
| 10048 | if (root.pendingContext) { |
| 10049 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 10050 | } else if (root.context) { |
| 10051 | // Should always be set |
| 10052 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 10053 | } |
| 10054 | pushHostContainer(workInProgress, root.containerInfo); |
| 10055 | } |
| 10056 | |
| 10057 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 10058 | pushHostRootContext(workInProgress); |
no test coverage detected