Index: Source/core/rendering/RenderLayerCompositor.cpp |
diff --git a/Source/core/rendering/RenderLayerCompositor.cpp b/Source/core/rendering/RenderLayerCompositor.cpp |
index 9c3450767be33ec499b3828a0f62cd3748086cd9..d2e1acb6aef15db32096499eaa9e0bf1f96fcf8c 100644 |
--- a/Source/core/rendering/RenderLayerCompositor.cpp |
+++ b/Source/core/rendering/RenderLayerCompositor.cpp |
@@ -2417,6 +2417,7 @@ void RenderLayerCompositor::attachRootLayer(RootLayerAttachment attachment) |
case RootLayerAttachedViaEnclosingFrame: { |
// The layer will get hooked up via CompositedLayerMapping::updateGraphicsLayerConfiguration() |
// for the frame's renderer in the parent document. |
+ DocumentLifecycle::DeprecatedTransition marker(DocumentLifecycle::AfterPerformLayout, DocumentLifecycle::StyleRecalcPending); |
m_renderView->document().ownerElement()->scheduleLayerUpdate(); |
break; |
} |
@@ -2478,6 +2479,8 @@ void RenderLayerCompositor::notifyIFramesOfCompositingChange() |
return; |
Frame& frame = m_renderView->frameView()->frame(); |
+ DocumentLifecycle::DeprecatedTransition marker(DocumentLifecycle::AfterPerformLayout, DocumentLifecycle::StyleRecalcPending); |
+ |
for (Frame* child = frame.tree().firstChild(); child; child = child->tree().traverseNext(&frame)) { |
if (child->document() && child->document()->ownerElement()) |
child->document()->ownerElement()->scheduleLayerUpdate(); |