Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 8dca0e8f9700cd8ca2a3826cac3351acb2f3da67..09a02635f51ac7c5e7674d12ad8ec8f24e376898 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -3696,7 +3696,7 @@ IntSize FrameView::maximumScrollOffsetInt() const { |
TopDocumentRootScrollerController& controller = |
host->globalRootScrollerController(); |
if (layoutViewport == controller.rootScrollerArea()) |
- visibleSize = controller.rootScrollerVisibleArea(); |
+ visibleSize = controller.visibleContentRect(ExcludeScrollbars).size(); |
IntSize maximumOffset = |
toIntSize(-scrollOrigin() + (contentBounds - visibleSize)); |