| Index: Source/core/paint/BoxPainter.cpp
|
| diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
|
| index 4b8298c32d0e443b430e42306c7257abb1da8df0..e002869ea73c9716d812a35bc9139d9d87b8847e 100644
|
| --- a/Source/core/paint/BoxPainter.cpp
|
| +++ b/Source/core/paint/BoxPainter.cpp
|
| @@ -742,7 +742,7 @@ void BoxPainter::calculateBackgroundImageGeometry(LayoutBoxModelObject& obj, con
|
| if (fixedBackgroundPaintsInLocalCoordinates(obj))
|
| viewportRect.setLocation(IntPoint());
|
| else if (FrameView* frameView = obj.view()->frameView())
|
| - viewportRect.setLocation(IntPoint(frameView->scrollOffsetForViewportConstrainedObjects()));
|
| + viewportRect.setLocation(frameView->scrollPosition());
|
|
|
| if (paintContainer) {
|
| IntPoint absoluteContainerOffset = roundedIntPoint(paintContainer->localToAbsolute(FloatPoint()));
|
|
|