Summary: | [FrameView::layout cleanup] Subtree should read subtreeLayout. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, commit-queue, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
zalan
2017-10-17 11:20:01 PDT
Created attachment 324033 [details]
Patch
Comment on attachment 324033 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=324033&action=review > Source/WebCore/page/FrameView.cpp:1359 > + if (!layoutRoot || !layoutRoot->needsLayout()) Kinda weird that we can have a m_subtreeLayoutRoot with needsLayout() == false (if that happens). > Source/WebCore/page/FrameView.cpp:1392 > + bool performingSubtreeLayout = false; or isSubtreeLayout? > Source/WebCore/page/FrameView.cpp:1505 > + ASSERT(allowSubtreeLayout || !performingSubtreeLayout); Said added ASSERT_IMPLIES which would be appropriate here: ASSERT_IMPLIES(performingSubtreeLayout, allowSubtreeLayout) Created attachment 324043 [details]
Patch
Comment on attachment 324043 [details] Patch Clearing flags on attachment: 324043 Committed r223569: <https://trac.webkit.org/changeset/223569> All reviewed patches have been landed. Closing bug. |