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

Unified Diff: third_party/WebKit/Source/core/page/Page.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/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index cc8817b4f5425733acfcb945eef9d385392d9832..8f4ead3896155865769235846ca948323af81897 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -72,13 +72,13 @@ Page::PageSet& Page::ordinaryPages() {
return pages;
}
-float deviceScaleFactor(LocalFrame* frame) {
+float deviceScaleFactorDeprecated(LocalFrame* frame) {
if (!frame)
return 1;
Page* page = frame->page();
if (!page)
return 1;
- return page->deviceScaleFactor();
+ return page->deviceScaleFactorDeprecated();
}
Page* Page::createOrdinary(PageClients& pageClients) {
@@ -254,7 +254,7 @@ float Page::pageScaleFactor() const {
return frameHost().visualViewport().scale();
}
-void Page::setDeviceScaleFactor(float scaleFactor) {
+void Page::setDeviceScaleFactorDeprecated(float scaleFactor) {
if (m_deviceScaleFactor == scaleFactor)
return;
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698