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

Unified Diff: third_party/WebKit/Source/web/InspectorEmulationAgent.cpp

Issue 1632983002: [DevTools] Do not reset scroll when emulating device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/web/InspectorEmulationAgent.cpp
diff --git a/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp b/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp
index 4f3475a6c91bf24715d75977a28ff7c30997cc7c..54f432867f3d0da95ba08336f043093a9f2c6e85 100644
--- a/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp
+++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp
@@ -71,9 +71,9 @@ void InspectorEmulationAgent::didCommitLoadForLocalFrame(LocalFrame* frame)
viewportChanged();
}
-void InspectorEmulationAgent::resetScrollAndPageScaleFactor(ErrorString*)
+void InspectorEmulationAgent::resetPageScaleFactor(ErrorString*)
{
- webViewImpl()->resetScrollAndScaleStateImmediately();
+ webViewImpl()->resetScaleStateImmediately();
}
void InspectorEmulationAgent::setPageScaleFactor(ErrorString*, double pageScaleFactor)
« no previous file with comments | « third_party/WebKit/Source/web/InspectorEmulationAgent.h ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698