Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 626fc90fe912ed748418ae49812adf485d20926d..9618f48253c6ceaf760cdd0e8ee641714a5f7072 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -1307,9 +1307,9 @@ void FrameView::viewportConstrainedVisibleContentSizeChanged(bool widthChanged, |
} |
} |
-IntSize FrameView::scrollOffsetForFixedPosition() const |
+IntSize FrameView::scrollOffsetForViewportConstrainedObjects() const |
{ |
- return toIntSize(clampScrollPosition(scrollPosition())); |
+ return roundedIntSize(viewportConstrainedVisibleContentRect().location()); |
} |
IntPoint FrameView::lastKnownMousePosition() const |