Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index 93573620b9393dabb2c883e5cd19512b8c49dc6f..9b80a61fda0352daf7965dc6fe4f84b4c1aed4f6 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -677,9 +677,6 @@ void PaintLayerScrollableArea::finalizeScrollDimensions(const DoubleSize& origin |
m_inOverflowRelayout = true; |
SubtreeLayoutScope layoutScope(box()); |
layoutScope.setNeedsLayout(&box(), LayoutInvalidationReason::ScrollbarChanged); |
- // TODO(wangxianzhu): Remove the following statement when paint invalidation |
- // can detect client box changes. crbug.com/560418. |
- box().setShouldDoFullPaintInvalidation(); |
if (box().isLayoutBlock()) { |
LayoutBlock& block = toLayoutBlock(box()); |
block.scrollbarsChanged(autoHorizontalScrollBarChanged, autoVerticalScrollBarChanged); |