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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.h

Issue 232913004: Use StrictTypeChecking for methods on CRC2D that accepts Path2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update some more expectations. Created 6 years, 8 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: Source/core/html/canvas/CanvasRenderingContext2D.h
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h
index 9c1dda16240272806cffdcabc9233f81bb926227..bfe8ddd69cd43a4e63a06a7be691d81490e9dce3 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h
@@ -152,22 +152,22 @@ public:
PassRefPtr<Path2D> currentPath();
void setCurrentPath(Path2D*);
void fill(const String& winding = "nonzero");
- void fill(Path2D*, ExceptionState&);
- void fill(Path2D*, const String& winding, ExceptionState&);
+ void fill(Path2D*);
+ void fill(Path2D*, const String& winding);
void stroke();
- void stroke(Path2D*, ExceptionState&);
+ void stroke(Path2D*);
void clip(const String& winding = "nonzero");
- void clip(Path2D*, ExceptionState&);
- void clip(Path2D*, const String& winding, ExceptionState&);
+ void clip(Path2D*);
+ void clip(Path2D*, const String& winding);
bool isPointInPath(const float x, const float y, const String& winding = "nonzero");
- bool isPointInPath(Path2D*, const float x, const float y, ExceptionState&);
- bool isPointInPath(Path2D*, const float x, const float y, const String& winding, ExceptionState&);
+ bool isPointInPath(Path2D*, const float x, const float y);
+ bool isPointInPath(Path2D*, const float x, const float y, const String& winding);
bool isPointInStroke(const float x, const float y);
- bool isPointInStroke(Path2D*, const float x, const float y, ExceptionState&);
+ bool isPointInStroke(Path2D*, const float x, const float y);
void scrollPathIntoView();
- void scrollPathIntoView(Path2D*, ExceptionState&);
+ void scrollPathIntoView(Path2D*);
void clearRect(float x, float y, float width, float height);
void fillRect(float x, float y, float width, float height);

Powered by Google App Engine
This is Rietveld 408576698