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

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

Issue 131543013: Update scroll parent correctly for squashing layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now with working LayoutTests (thanks to hartmanng for help with the repaint workaround). 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
Index: Source/core/rendering/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index 02d27c174078b8931bc396cccfbad8239a448ef6..a16015efcad60bfa42af6fd6050c46843eaa8033 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -193,6 +193,9 @@ RenderLayerCompositor* RenderLayer::compositor() const
void RenderLayer::contentChanged(ContentChangeType changeType)
{
+ // updateLayerCompositingState will query compositingReasons for accelerated overflow scrolling.
ojan 2014/03/12 18:30:25 Is there a test that hits this? It's useful to lis
Ian Vollick 2014/03/12 20:03:32 Added a test for this.
+ DisableCompositingQueryAsserts disabler;
abarth-chromium 2014/03/12 18:45:40 It's too bad that we're regressing this chicken-eg
Ian Vollick 2014/03/12 20:03:32 Not a regression, just a gap in coverage. We were
+
// This can get called when video becomes accelerated, so the layers may change.
if (changeType == CanvasChanged || changeType == VideoChanged || changeType == FullScreenChanged)
compositor()->updateLayerCompositingState(this);

Powered by Google App Engine
This is Rietveld 408576698