Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 82651f985500ae70882547b9d4dad3a933c3beaf..85cf715be76ff53dc9b9c19cd00bc2b5a81bab25 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -1023,13 +1023,10 @@ void FrameView::layout() |
} |
TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(TRACE_DISABLED_BY_DEFAULT("blink.debug.layout"), "LayoutTree", |
- this, TracedLayoutObject::create(*layoutView())); |
+ this, TracedLayoutObject::create(*layoutView(), false)); |
performLayout(inSubtreeLayout); |
- TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(TRACE_DISABLED_BY_DEFAULT("blink.debug.layout"), "LayoutTree", |
- this, TracedLayoutObject::create(*layoutView())); |
- |
ASSERT(m_layoutSubtreeRootList.isEmpty()); |
} // Reset m_layoutSchedulingEnabled to its previous value. |
@@ -1041,6 +1038,9 @@ void FrameView::layout() |
// FIXME: Could find the common ancestor layer of all dirty subtrees and mark from there. crbug.com/462719 |
layoutView()->enclosingLayer()->updateLayerPositionsAfterLayout(); |
+ TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(TRACE_DISABLED_BY_DEFAULT("blink.debug.layout"), "LayoutTree", |
+ this, TracedLayoutObject::create(*layoutView(), true)); |
+ |
layoutView()->compositor()->didLayout(); |
m_layoutCount++; |