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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2638013002: Record box shadow as main thread scrolling reasons (Closed)
Patch Set: nit Created 3 years, 11 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: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 73e6debb93a0f95c56cb0ae8c10362ba4c388675..df0853754cf2c3a6f372da38e7224de44f521584 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2609,11 +2609,12 @@ GraphicsLayer* PaintLayer::graphicsLayerBacking(const LayoutObject* obj) const {
}
}
-BackgroundPaintLocation PaintLayer::backgroundPaintLocation() const {
+BackgroundPaintLocation PaintLayer::backgroundPaintLocation(
+ uint32_t* reasons) const {
BackgroundPaintLocation location =
isRootLayer() || !scrollsOverflow()
? BackgroundPaintInGraphicsLayer
- : layoutObject()->backgroundPaintLocation();
+ : layoutObject()->backgroundPaintLocation(reasons);
m_stackingNode->updateLayerListsIfNeeded();
if (m_stackingNode->hasNegativeZOrderList())
location = BackgroundPaintInGraphicsLayer;
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698