Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2623213002: Expand PaintLayer clip to account for hidden URL bar with document.rootScroller (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698