(workInProgress)
| 9986 | } |
| 9987 | |
| 9988 | function pushHostRootContext(workInProgress) { |
| 9989 | var root = workInProgress.stateNode; |
| 9990 | if (root.pendingContext) { |
| 9991 | pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context); |
| 9992 | } else if (root.context) { |
| 9993 | // Should always be set |
| 9994 | pushTopLevelContextObject(workInProgress, root.context, false); |
| 9995 | } |
| 9996 | pushHostContainer(workInProgress, root.containerInfo); |
| 9997 | } |
| 9998 | |
| 9999 | function updateHostRoot(current, workInProgress, renderExpirationTime) { |
| 10000 | pushHostRootContext(workInProgress); |
no test coverage detected