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

Unified Diff: Source/core/rendering/RenderLayer.cpp

Issue 271863003: Layer squashing causes incorrect rendering while scrolling in Gmail (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now with test Created 6 years, 7 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/squashing/composited-bounds-for-negative-z-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index 953e0e3d8e56eb3683396918b6b09c4bc959aba2..2a6ca0e8107783f77ce5509be5b7cc8b77d2628e 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -3429,7 +3429,7 @@ LayoutRect RenderLayer::boundingBoxForCompositing(const RenderLayer* ancestorLay
RenderLayerStackingNodeIterator iterator(*m_stackingNode.get(), AllChildren);
while (RenderLayerStackingNode* node = iterator.next()) {
- if (node->layer()->hasCompositedLayerMapping() && options != ApplyBoundsChickenEggHacks)
+ if (options != ApplyBoundsChickenEggHacks && node->layer()->compositingState() != NotComposited)
Ian Vollick 2014/05/08 14:40:11 I was worried that if node->layer() was squashing,
continue;
result.unite(node->layer()->boundingBoxForCompositing(this, options));
}
« no previous file with comments | « LayoutTests/compositing/squashing/composited-bounds-for-negative-z-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698