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

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

Issue 2700613002: Reland recording box shadow as main thread scrolling reason with conflict fixed (Closed)
Patch Set: update test from TEST_F to TEST_P Created 3 years, 10 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 693e3f26e7795e939dbe711ad38c7647b2b00fe8..d58952d21a11b1e1b7d5bc192d879e3dff885ef9 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2596,15 +2596,16 @@ GraphicsLayer* PaintLayer::graphicsLayerBacking(const LayoutObject* obj) const {
}
}
-BackgroundPaintLocation PaintLayer::backgroundPaintLocation() const {
+BackgroundPaintLocation PaintLayer::backgroundPaintLocation(
+ uint32_t* reasons) const {
BackgroundPaintLocation location;
if (!scrollsOverflow()) {
location = BackgroundPaintInGraphicsLayer;
} else if (RuntimeEnabledFeatures::rootLayerScrollingEnabled()) {
- location = layoutObject()->backgroundPaintLocation();
+ location = layoutObject()->backgroundPaintLocation(reasons);
} else {
location = isRootLayer() ? BackgroundPaintInGraphicsLayer
- : layoutObject()->backgroundPaintLocation();
+ : layoutObject()->backgroundPaintLocation(reasons);
}
m_stackingNode->updateLayerListsIfNeeded();
if (m_stackingNode->hasNegativeZOrderList())
« 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