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

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.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/FramePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
index d19d663e779f1c6ad314983250aa11d9021c8811..d5f588c3575c3ae4a0d087d4d271e905e68755c0 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
@@ -170,7 +170,7 @@ void FramePainter::paintContents(GraphicsContext& context,
PaintLayerPainter layerPainter(*rootLayer);
float deviceScaleFactor =
- blink::deviceScaleFactor(rootLayer->layoutObject().frame());
+ blink::deviceScaleFactorDeprecated(rootLayer->layoutObject().frame());
context.setDeviceScaleFactor(deviceScaleFactor);
layerPainter.paint(context, LayoutRect(rect), localPaintFlags);

Powered by Google App Engine
This is Rietveld 408576698