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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 220473002: Whittle down some compositing chicken/egg hacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hopefully fix assrt Created 6 years, 9 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 | « Source/core/rendering/RenderLayerScrollableArea.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
index 972f325284bbae5342af7a035edf81e74f0b7d26..da1d3a8bc91a1406f40e22f70a77f2a739c4d95b 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -818,13 +818,8 @@ RenderLayerCompositor::CompositingStateTransitionType RenderLayerCompositor::com
// See crbug.com/339892 for a list of tests that fail if this method is removed.
void RenderLayerCompositor::applyUpdateLayerCompositingStateChickenEggHacks(RenderLayer* layer, CompositingStateTransitionType compositedLayerUpdate)
{
- // See if we need content or clipping layers. Methods called here should assume
- // that the compositing state of descendant layers has not been updated yet.
- if (layer->hasCompositedLayerMapping() && layer->compositedLayerMapping()->updateGraphicsLayerConfiguration(GraphicsLayerUpdater::ForceUpdate))
- setCompositingLayersNeedRebuild();
-
if (compositedLayerUpdate != NoCompositingStateChange)
- allocateOrClearCompositedLayerMapping(layer, computeCompositedLayerUpdate(layer));
+ allocateOrClearCompositedLayerMapping(layer, compositedLayerUpdate);
}
void RenderLayerCompositor::updateLayerCompositingState(RenderLayer* layer, UpdateLayerCompositingStateOptions options)
« no previous file with comments | « Source/core/rendering/RenderLayerScrollableArea.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698