MCPcopy Create free account
hub / github.com/Snapchat/Valdi / copyChildrenWithDebugId

Method copyChildrenWithDebugId

valdi/src/valdi/runtime/Context/ViewNode.cpp:2957–2966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2955 if (_flags[kIsLazyLayoutFlag] && getLazyLayoutYogaNode() != nullptr && _flags[kVisibleInViewportFlag]) {
2956 if (updateLazyLayout()) {
2957 didPerformLayoutForChildren = true;
2958 shouldVisitChildren = true;
2959 } else {
2960 // If we did not update the nested layout, didPerformLayout should be false for this subtree,
2961 // unless our frame was updated.
2962 didPerformLayoutForChildren = shouldVisitChildren;
2963 }
2964 }
2965
2966 if (managesChildFrames()) {
2967 updateManagedChildrenLayout(_calculatedFrame.width,
2968 MeasureModeExactly,
2969 _calculatedFrame.height,

Callers 1

TEST_PFunction · 0.80

Calls 2

strongSmallRefFunction · 0.85
getDebugIdMethod · 0.45

Tested by 1

TEST_PFunction · 0.64