(workInProgress)
| 9281 | } |
| 9282 | |
| 9283 | function pushHostRootContext(workInProgress) { |
| 9284 | var root = workInProgress.stateNode; |
| 9285 | if (root.pendingContext) { |
| 9286 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 9287 | } else if (root.context) { |
| 9288 | // Should always be set |
| 9289 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 9290 | } |
| 9291 | pushHostContainer(workInProgress, root.containerInfo); |
| 9292 | } |
| 9293 | |
| 9294 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 9295 | pushHostRootContext(workInProgress); |
no test coverage detected