DescriptionAvoid auto-resize re-entrancy problems.
ASSERT(needsLayout()) failed in various layout() methods. The reason is
that autoSizeIfEnabled() will re-enter FrameView::layout(), and upon return,
the rootForThisLayout RenderObject has already been layed out.
This CL moves the auto-sizing up to the top of FrameView::layout() to avoid
the re-entrancy problem with rootForThisLayout.
BUG=403743
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181258
Patch Set 1 #Patch Set 2 : Rebased #
Total comments: 2
Patch Set 3 : Removed incorrect return. #
Total comments: 4
Patch Set 4 : Moved inside programmatic scroll and FrameView protect #Patch Set 5 : Rebased #
Messages
Total messages: 16 (1 generated)
|