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

Unified Diff: Source/core/page/Page.cpp

Issue 1025543002: Remove old pinch-zoom paths from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 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/core/page/EventHandler.cpp ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index 4f96a1cefd32aec7816aa2429909d4f4b9e382aa..3a46e052b080a7737d6a211f05809d4ad38f4a69 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -327,16 +327,8 @@ void Page::setPageScaleFactor(float scale, const IntPoint& origin)
if (scale != viewport.scale()) {
viewport.setScale(scale);
- if (view && !settings().pinchVirtualViewportEnabled())
- view->setVisibleContentScaleFactor(scale);
-
m_chrome->client().pageScaleFactorChanged();
- // FIXME: In virtual-viewport pinch mode, scale doesn't change the fixed-pos viewport;
- // remove once it's the only pinch mode in town.
- if (view)
- view->viewportConstrainedVisibleContentSizeChanged(true, true);
-
deprecatedLocalMainFrame()->loader().saveScrollState();
}
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698