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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.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/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 3babc9d05b8c435629655b7fa715dd8a26a78cc4..9328460562c2e41ae35001f33e58dda965ee8de8 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -2914,8 +2914,8 @@ void CompositedLayerMapping::doPaintTask(
paintInfo.paintLayer->layoutObject().assertSubtreeIsLaidOut();
#endif
- float deviceScaleFactor =
- blink::deviceScaleFactor(paintInfo.paintLayer->layoutObject().frame());
+ float deviceScaleFactor = blink::deviceScaleFactorDeprecated(
+ paintInfo.paintLayer->layoutObject().frame());
context.setDeviceScaleFactor(deviceScaleFactor);
if (paintInfo.paintLayer->compositingState() != PaintsIntoGroupedBacking) {

Powered by Google App Engine
This is Rietveld 408576698