Chromium Code Reviews
DescriptionSimplify and solidify FrameView dirty layout check
Issues to debug:
- dirty layout immediately after layout() in
FrameView::updateStyleAndLayoutIfNeededRecursiveInternal();
- dirty frame layout during painting, though with existing layout
invalidation checks.
Remove m_inPluginUpdate and m_inForcedLayoutByChildEmbeddedReplacedContent
which were for special casing layout invalidation during layout. Now just
assumes layout invalidation is allowed during layout.
And solidify dirty layout check:
- check all early return conditions of layout() in
updateStyleAndLayoutIfNeededRecursiveInternal();
- check all frames in updateDocumentLifecyclePhasesInternal() after layout
stage.
BUG=590856
Committed: https://crrev.com/d6fcf50124b2bb0cf0f9c238ea1c792d63fa3d8c
Cr-Commit-Position: refs/heads/master@{#404256}
Patch Set 1 #Patch Set 2 : FrameView dirty layout check #Patch Set 3 : FrameView dirty layout check #Patch Set 4 : FrameView dirty layout check #
Total comments: 4
Messages
Total messages: 14 (6 generated)
|
||||||||||||||||||||||||||||