| 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 8bf9fec3681737a31140460f78e2339a77fcc153..52ad1408b3d2c41d93722417ea5935d6f6635614 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2752,8 +2752,12 @@ void PaintLayer::removeAncestorOverflowLayer(const PaintLayer* removedLayer)
|
| if (ancestorOverflowLayer() && ancestorOverflowLayer() != removedLayer)
|
| return;
|
|
|
| - if (ancestorOverflowLayer())
|
| + if (ancestorOverflowLayer()) {
|
| + // TODO(pdr): When slimming paint v2 is enabled, we will need to
|
| + // invalidate the scroll paint property subtree for this so main
|
| + // thread scroll reasons are recomputed.
|
| ancestorOverflowLayer()->getScrollableArea()->invalidateStickyConstraintsFor(this);
|
| + }
|
| updateAncestorOverflowLayer(nullptr);
|
| PaintLayer* current = m_first;
|
| while (current) {
|
|
|