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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 1526093006: Fix paint code so that overlays and views paint their own layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 4146ce843e4f0b809942d962423af93d4d888921..4d2c08420d60cd8f28edaf9f98434bf5349b9448 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -699,9 +699,7 @@ PaintLayer* PaintLayerCompositor::rootLayer() const
GraphicsLayer* PaintLayerCompositor::rootGraphicsLayer() const
{
- if (m_overflowControlsHostLayer)
- return m_overflowControlsHostLayer.get();
- return m_rootContentLayer.get();
+ return m_overflowControlsHostLayer.get();
}
GraphicsLayer* PaintLayerCompositor::frameScrollLayer() const

Powered by Google App Engine
This is Rietveld 408576698