Index: Source/core/paint/ScrollableAreaPainter.cpp |
diff --git a/Source/core/paint/ScrollableAreaPainter.cpp b/Source/core/paint/ScrollableAreaPainter.cpp |
index bea70b919cc8aadb1b2dc7f921b1742ceb601c7b..58992c8efcea6ff2b6a0ff1274c250a530ab9a08 100644 |
--- a/Source/core/paint/ScrollableAreaPainter.cpp |
+++ b/Source/core/paint/ScrollableAreaPainter.cpp |
@@ -37,10 +37,10 @@ void ScrollableAreaPainter::paintResizer(GraphicsContext* context, const IntPoin |
if (!RuntimeEnabledFeatures::slimmingPaintEnabled() && !absRect.intersects(damageRect)) |
return; |
- if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::Resizer)) |
+ if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::Resizer, paintOffset)) |
return; |
- LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::Resizer, absRect); |
+ LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::Resizer, absRect, paintOffset); |
drawPlatformResizerImage(context, absRect); |
@@ -192,10 +192,10 @@ void ScrollableAreaPainter::paintScrollCorner(GraphicsContext* context, const In |
if (scrollableArea().hasOverlayScrollbars()) |
return; |
- if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner)) |
+ if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner, paintOffset)) |
return; |
- LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner, absRect); |
+ LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner, absRect, paintOffset); |
context->fillRect(absRect, Color::white); |
} |