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

Unified Diff: Source/web/ResizeViewportAnchor.cpp

Issue 1158673006: Replace various ScrollableArea scroll methods with setScrollPosition (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build fix 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/Scrollbar.cpp ('k') | Source/web/RotationViewportAnchor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ResizeViewportAnchor.cpp
diff --git a/Source/web/ResizeViewportAnchor.cpp b/Source/web/ResizeViewportAnchor.cpp
index e1be0b35b3ebdc99ca496437cbf8023b28e46543..58eed23f0b0bdf62503f7ff9c70535fc97f3582d 100644
--- a/Source/web/ResizeViewportAnchor.cpp
+++ b/Source/web/ResizeViewportAnchor.cpp
@@ -21,7 +21,7 @@ ResizeViewportAnchor::ResizeViewportAnchor(FrameView& rootFrameView, PinchViewpo
ResizeViewportAnchor::~ResizeViewportAnchor()
{
- m_rootFrameView->scrollableArea()->setScrollPosition(m_pinchViewportInDocument);
+ m_rootFrameView->scrollableArea()->setScrollPosition(m_pinchViewportInDocument, ProgrammaticScroll);
}
} // namespace blink
« no previous file with comments | « Source/platform/scroll/Scrollbar.cpp ('k') | Source/web/RotationViewportAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698