| Index: Source/core/paint/BoxPainter.cpp
|
| diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
|
| index 6044ebb7427cb00aaab132ea3bc1f481f32c6b15..0c9d3b827683df4bb5b57f6e440b6ab54e76fc66 100644
|
| --- a/Source/core/paint/BoxPainter.cpp
|
| +++ b/Source/core/paint/BoxPainter.cpp
|
| @@ -697,7 +697,7 @@ void BoxPainter::calculateBackgroundImageGeometry(RenderBoxModelObject& obj, con
|
| if (fixedBackgroundPaintsInLocalCoordinates(obj))
|
| viewportRect.setLocation(IntPoint());
|
| else if (FrameView* frameView = obj.view()->frameView())
|
| - viewportRect.setLocation(IntPoint(frameView->scrollOffsetForFixedPosition()));
|
| + viewportRect.setLocation(IntPoint(frameView->scrollOffsetForViewportConstrainedObjects()));
|
|
|
| if (paintContainer) {
|
| IntPoint absoluteContainerOffset = roundedIntPoint(paintContainer->localToAbsolute(FloatPoint()));
|
|
|