| Index: Source/core/paint/BoxPainter.cpp
|
| diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
|
| index 1796967054711ebd1d77c75ce4971f7baaae816a..382e0ed370f225dd8c9947a8a01f7acc854b2670 100644
|
| --- a/Source/core/paint/BoxPainter.cpp
|
| +++ b/Source/core/paint/BoxPainter.cpp
|
| @@ -442,7 +442,7 @@ void BoxPainter::paintFillLayerExtended(LayoutBoxModelObject& obj, const PaintIn
|
|
|
| BackgroundImageGeometry geometry;
|
| if (bgImage)
|
| - geometry.calculate(obj, paintInfo.paintContainer(), paintInfo.globalPaintFlags(), bgLayer, scrolledPaintRect, backgroundObject);
|
| + geometry.calculate(obj, paintInfo.paintContainer(), paintInfo.globalPaintFlags(), bgLayer, scrolledPaintRect, paintInfo.accumulatedScrollOffsetSincePaintContainer, backgroundObject);
|
| bool shouldPaintBackgroundImage = bgImage && bgImage->canRender(obj, obj.style()->effectiveZoom());
|
|
|
| // Paint the color first underneath all images, culled if background image occludes it.
|
|
|