Index: third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp |
index 4d0f7f2c775dd52f243df8a1eafba61d65e0115c..47910c1ad54de667a3421a97a92af6158a3d3f0c 100644 |
--- a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp |
+++ b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp |
@@ -394,7 +394,7 @@ void BackgroundImageGeometry::calculate( |
viewportRect.setLocation(LayoutPoint()); |
} else { |
if (FrameView* frameView = obj.view()->frameView()) |
- viewportRect.setLocation(frameView->scrollPosition()); |
+ viewportRect.setLocation(IntPoint(frameView->scrollOffsetInt())); |
// Compensate the translations created by ScrollRecorders. |
// TODO(trchen): Fix this for SP phase 2. crbug.com/529963. |
viewportRect.moveBy( |