Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 7b42005344ae4e68edc7fdc13e88250f1783d6cb..d5a516eff9e3298b35787b9074eae9a4732cffd2 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -1308,9 +1308,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 |