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

Unified Diff: third_party/WebKit/Source/core/paint/ScrollableAreaPainter.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/paint/ScrollableAreaPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp b/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp
index 88c4cc77619b172da9d51092dd3bd3046041f3db..01bbc38c9c23db92c2715afd876ebc7d87b633fe 100644
--- a/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp
@@ -70,7 +70,7 @@ void ScrollableAreaPainter::drawPlatformResizerImage(
GraphicsContext& context,
IntRect resizerCornerRect) {
float oldDeviceScaleFactor =
- blink::deviceScaleFactor(getScrollableArea().box().frame());
+ blink::deviceScaleFactorDeprecated(getScrollableArea().box().frame());
// |blink::deviceScaleFactor| returns different values between MAC (2 or 1)
// and other platforms (always 1). For this reason we cannot hardcode the
// value of 1 in the call for |windowToViewportScalar|. Since zoom-for-dsf is
« no previous file with comments | « third_party/WebKit/Source/core/paint/FramePainter.cpp ('k') | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698