| 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())
|
|
|