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

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

Issue 1454163005: Change float-->double in CanvasRenderingContext2D.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 34e4cf16c13a1a1026abda806b9a8e375e0dd07a..12886881a11c99fdd9d3fa925539f4e45979b6ec 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
@@ -103,7 +103,7 @@ public:
virtual bool is2d() const { return false; }
virtual void restoreCanvasMatrixClipStack(SkCanvas*) const { }
virtual void reset() { }
- virtual void clearRect(float x, float y, float width, float height) { }
+ virtual void clearRect(double x, double y, double width, double height) { }
virtual void didSetSurfaceSize() { }
virtual void setShouldAntialias(bool) { }
virtual unsigned hitRegionsCount() const { return 0; }

Powered by Google App Engine
This is Rietveld 408576698