Index: third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp b/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp |
index 7b7c831dc87fcfeb8efb46d817f126940de28ad5..cb2fca265b7a6a06a00dc0e8668b6fb5ce994335 100644 |
--- a/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp |
@@ -133,7 +133,7 @@ void ScrollableAreaPainter::paintOverflowControls(GraphicsContext& context, cons |
if (objectProperties && objectProperties->scrollbarPaintOffset()) { |
PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties()); |
properties.transform = objectProperties->scrollbarPaintOffset(); |
- scopedTransformProperty.emplace(context.getPaintController(), properties); |
+ scopedTransformProperty.emplace(context.getPaintController(), getScrollableArea().box(), DisplayItem::ScrollOverflowControls, properties); |
} |
} |
if (getScrollableArea().horizontalScrollbar() && !getScrollableArea().layerForHorizontalScrollbar()) { |