Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1254)

Unified Diff: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp

Issue 1181743003: Rebuild GraphicsLayer tree when a LayoutPart's CDPLM configuration changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
diff --git a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
index 7f329c3b8029009541aa231f7f449120e43e28c1..c5d996549f6650a8c4d96627988dc7a3c8f7f7df 100644
--- a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
+++ b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp
@@ -536,8 +536,10 @@ bool CompositedDeprecatedPaintLayerMapping::updateGraphicsLayerConfiguration()
m_graphicsLayer->setContentsToPlatformLayer(context->platformLayer());
layerConfigChanged = true;
}
- if (layoutObject->isLayoutPart())
- layerConfigChanged = DeprecatedPaintLayerCompositor::parentFrameContentLayers(toLayoutPart(layoutObject));
+ if (layoutObject->isLayoutPart()) {
+ if (DeprecatedPaintLayerCompositor::parentFrameContentLayers(toLayoutPart(layoutObject)))
+ layerConfigChanged = true;
+ }
// Changes to either the internal hierarchy or the mask layer have an impact
// on painting phases, so we need to update when either are updated.
« no previous file with comments | « LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698