| 3037 | ViewNodeChildrenIndexer* parentChildrenIndexer, |
| 3038 | ViewNodesFrameObserver* frameObserver) { |
| 3039 | auto didPerformLayoutForChildren = didPerformLayout; |
| 3040 | auto shouldVisitChildren = false; |
| 3041 | bool calculatedFrameDidChange = false; |
| 3042 | bool calculatedSizeDidChange = false; |
| 3043 | |
| 3044 | // Step 1: If we finished a layout pass, we update the calculated frame and the view frame |
| 3045 | |
| 3046 | if (didPerformLayout) { |
| 3047 | if (updateCalculatedFrame( |
| 3048 | viewOffsetX, viewOffsetY, rtlOffsetX, &calculatedFrameDidChange, &calculatedSizeDidChange)) { |
| 3049 | // Sync the horizontal state with our children indexer |
| 3050 | if (_childrenIndexer != nullptr) { |
| 3051 | _childrenIndexer->setHorizontal(isHorizontal()); |