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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp

Issue 2724543002: Renamed deviceScaleFactor() to deviceScaleFactorDeprecated() in Page (Closed)
Patch Set: 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/html/HTMLCanvasElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
index 5b1e0afa995bc91287995de58b8811ece87d2b17..289cbd47e9fb7f4bd7e13b55d9f7b7b559c33b2b 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
@@ -315,7 +315,7 @@ void HTMLCanvasElement::didDraw(const FloatRect& rect) {
if (layoutObject())
layoutObject()->setMayNeedPaintInvalidation();
if (m_context && m_context->is2d() && m_context->shouldAntialias() &&
- page() && page()->deviceScaleFactor() > 1.0f) {
+ page() && page()->deviceScaleFactorDeprecated() > 1.0f) {
FloatRect inflatedRect = rect;
inflatedRect.inflate(1);
m_dirtyRect.unite(inflatedRect);

Powered by Google App Engine
This is Rietveld 408576698