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

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

Issue 342593003: Only update style-determined composited reasons during the chicken/egg compositing update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/core/rendering/RenderLayer.h ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/CompositingReasonFinder.cpp
diff --git a/Source/core/rendering/compositing/CompositingReasonFinder.cpp b/Source/core/rendering/compositing/CompositingReasonFinder.cpp
index 2b2e149c1ff5f663e8eab0b3abfe3ceb63595a7a..289ba10aed5ec13a3a82f0a0fef760bcf376f1ff 100644
--- a/Source/core/rendering/compositing/CompositingReasonFinder.cpp
+++ b/Source/core/rendering/compositing/CompositingReasonFinder.cpp
@@ -126,7 +126,7 @@ CompositingReasons CompositingReasonFinder::nonStyleDeterminedDirectReasons(cons
// IsUnclippedDescendant is only actually stale during the chicken/egg code path.
// FIXME: Use compositingInputs().isUnclippedDescendant to ASSERT that
// this value isn't stale.
- if (layer->potentiallyStaleIsUnclippedDescendant())
+ if (layer->compositingInputs().isUnclippedDescendant)
directReasons |= CompositingReasonOutOfFlowClipping;
if (layer->scrollParent())
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698