(workInProgress)
| 10202 | } |
| 10203 | |
| 10204 | function pushHostRootContext(workInProgress) { |
| 10205 | var root = workInProgress.stateNode; |
| 10206 | if (root.pendingContext) { |
| 10207 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 10208 | } else if (root.context) { |
| 10209 | // Should always be set |
| 10210 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 10211 | } |
| 10212 | pushHostContainer(workInProgress, root.containerInfo); |
| 10213 | } |
| 10214 | |
| 10215 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 10216 | pushHostRootContext(workInProgress); |
no test coverage detected