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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.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/html/HTMLCanvasElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
index bc583e89f5c7b0de333f2e03a04cf1c066da5ff3..583ee2c0d36219335e2e9b4cb9f2167b311ff88a 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);
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698