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

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

Issue 2724543002: Renamed deviceScaleFactor() to deviceScaleFactorDeprecated() in Page (Closed)
Patch Set: Rebase Created 3 years, 10 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/DevToolsEmulator.cpp
diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
index 01dfa57df04e96f1fada7296e825f37b8b242ed6..8caa5b1002b61e3fabf813590f2eeeabacd214f8 100644
--- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
+++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
@@ -344,7 +344,7 @@ void DevToolsEmulator::disableMobileEmulation() {
float DevToolsEmulator::compositorDeviceScaleFactor() const {
if (m_deviceMetricsEnabled)
return m_emulationParams.deviceScaleFactor;
- return m_webViewImpl->page()->deviceScaleFactor();
+ return m_webViewImpl->page()->deviceScaleFactorDeprecated();
}
void DevToolsEmulator::forceViewport(const WebFloatPoint& position,
« no previous file with comments | « third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp ('k') | third_party/WebKit/Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698