Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
index 836dd4463d5fee1e2649dcb79b426c4a81c42a6f..67d07a21e0bbbd30feac4b191b26766e73b1080b 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
@@ -567,7 +567,7 @@ void PaintLayerPainter::paintOverflowControlsForFragments(const PaintLayerFragme |
clipRecorder.emplace(*context, *m_paintLayer.layoutObject(), DisplayItem::ClipLayerOverflowControls, fragment.backgroundRect, &localPaintingInfo, fragment.paginationOffset, paintFlags); |
if (PaintLayerScrollableArea* scrollableArea = m_paintLayer.scrollableArea()) { |
CullRect cullRect(pixelSnappedIntRect(fragment.backgroundRect.rect())); |
- ScrollableAreaPainter(*scrollableArea).paintOverflowControls(context, roundedIntPoint(toPoint(fragment.layerBounds.location() - m_paintLayer.layoutBoxLocation())), cullRect, true); |
+ ScrollableAreaPainter(*scrollableArea).paintOverflowControls(*context, roundedIntPoint(toPoint(fragment.layerBounds.location() - m_paintLayer.layoutBoxLocation())), cullRect, true); |
} |
} |
} |