| 572 | if (needUpdate) { |
| 573 | int beforeViewIndex = *currentViewIndex; |
| 574 | int beforeViewsCount = *viewsCount; |
| 575 | |
| 576 | if (hasChildWithZIndex()) { |
| 577 | auto children = sortChildrenByZIndex(); |
| 578 | for (ViewNode* childViewNode : *children) { |
| 579 | childViewNode->doUpdateViewTree(viewTransactionScope, |
| 580 | currentParentView, |
| 581 | visibleInViewport, |
| 582 | limitToViewportEnabled, |
| 583 | parentViewChanged, |
| 584 | viewInflationEnabled, |
| 585 | animator, |