| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index a51eff04ecaa61b967a46bbe529ba4078db00523..52bf10e7a0a7b2d96f0d20edc71027490efdf75b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -1482,7 +1482,7 @@ PaintInvalidationReason LayoutBox::invalidatePaintIfNeeded(const PaintInvalidati
|
| if (hasBoxDecorationBackground()
|
| // We also paint overflow controls in background phase.
|
| || (hasOverflowClip() && getScrollableArea()->hasOverflowControls())) {
|
| - PaintLayer& layer = paintInvalidationState.enclosingSelfPaintingLayer(*this);
|
| + PaintLayer& layer = paintInvalidationState.paintingLayer();
|
| if (layer.layoutObject() != this)
|
| layer.setNeedsPaintPhaseDescendantBlockBackgrounds();
|
| }
|
|
|