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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h

Issue 1983863002: Inflate dirty rect by 1 pixel on a high DPI display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullcheck on page() Created 4 years, 7 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/canvas/CanvasRenderingContext.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
index a22003a7ea9b6203500ec936a823f5885e559e37..efe510d70fe3d919fa7f3da85bf98d563de91bc9 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
@@ -70,6 +70,7 @@ public:
virtual ContextType getContextType() const = 0;
virtual bool isAccelerated() const { return false; }
+ virtual bool shouldAntialias() const { return false; }
virtual bool hasAlpha() const { return true; }
virtual void setIsHidden(bool) = 0;
virtual bool isContextLost() const { return true; }

Powered by Google App Engine
This is Rietveld 408576698