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

Unified Diff: Source/web/RotationViewportAnchor.cpp

Issue 1208433002: Replaced adjustScrollPositionWithinRange with clampScrollPosition (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Unremoved DoublePoint version of FrameView::setScrollOffset Created 5 years, 6 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
« no previous file with comments | « Source/platform/scroll/ScrollableArea.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/RotationViewportAnchor.cpp
diff --git a/Source/web/RotationViewportAnchor.cpp b/Source/web/RotationViewportAnchor.cpp
index cd1506a88ba74cfde07172ddbe23f30d6fee58ca..46f85629722a9b55a17f7b927385b01f3f34c909 100644
--- a/Source/web/RotationViewportAnchor.cpp
+++ b/Source/web/RotationViewportAnchor.cpp
@@ -183,7 +183,7 @@ void RotationViewportAnchor::computeOrigins(const FloatSize& innerSize, IntPoint
moveToEncloseRect(outerRect, innerRect);
- outerRect.setLocation(m_rootFrameView->adjustScrollPositionWithinRange(outerRect.location()));
+ outerRect.setLocation(m_rootFrameView->clampScrollPosition(outerRect.location()));
moveIntoRect(innerRect, outerRect);
« no previous file with comments | « Source/platform/scroll/ScrollableArea.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698