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

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

Issue 2657183002: Use full mapLocalToAncestor machinery in ScrollingCoordinator. (Closed)
Patch Set: Delete unused test file 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/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index 7c906789930d63e51e4c8119d057a6f27e402cda..5585ea1d3d4f0a34b20b0eacda600d6e4948f973 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -593,10 +593,10 @@ float VisualViewport::browserControlsAdjustment() const {
}
IntRect VisualViewport::scrollableAreaBoundingBox() const {
- // This method should return the bounding box in the parent view's coordinate
- // space; however, VisualViewport technically isn't a child of any Frames.
- // Nonetheless, the VisualViewport always occupies the entire main frame so
- // just return that.
+ // This method should return the bounding box in the top-level FrameView's
+ // coordinate space; however, VisualViewport technically isn't a child of any
+ // Frames. Nonetheless, the VisualViewport always occupies the entire main
+ // frame so just return that.
LocalFrame* frame = mainFrame();
if (!frame || !frame->view())
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698