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 2ec51b646d40123f1b6ffe49813f36cc4793ee12..f913b76a3b82cca329c36771d5b2e6c5c46a79ce 100644 |
--- a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp |
+++ b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp |
@@ -385,7 +385,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( |