Index: Source/core/html/canvas/CanvasRenderingContext2D.idl |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
index 21d9ba1e50c3716dceb722be6725d81769a7e558..9a3bdce2ba50e9fb57ad0e19a858c87a7f5c3cc6 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
@@ -69,27 +69,27 @@ interface CanvasRenderingContext2D { |
// FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed. |
void fill(); |
- [RuntimeEnabled=Path2D, RaisesException] void fill(Path2D? path); |
- void fill(CanvasWindingRule winding); |
- [RuntimeEnabled=Path2D, RaisesException] void fill(Path2D? path, CanvasWindingRule winding); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] void fill(Path2D path); |
+ [StrictTypeChecking] void fill(CanvasWindingRule winding); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] void fill(Path2D path, CanvasWindingRule winding); |
void stroke(); |
- [RuntimeEnabled=Path2D, RaisesException] void stroke(Path2D? path); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] void stroke(Path2D path); |
// FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed. |
void clip(); |
- [RuntimeEnabled=Path2D, RaisesException] void clip(Path2D? path); |
- void clip(CanvasWindingRule winding); |
- [RuntimeEnabled=Path2D, RaisesException] void clip(Path2D? path, CanvasWindingRule winding); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] void clip(Path2D path); |
+ [StrictTypeChecking] void clip(CanvasWindingRule winding); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] void clip(Path2D path, CanvasWindingRule winding); |
// FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed. |
boolean isPointInPath(float x, float y); |
- [RuntimeEnabled=Path2D, RaisesException] boolean isPointInPath(Path2D? path, float x, float y); |
- boolean isPointInPath(float x, float y, CanvasWindingRule winding); |
- [RuntimeEnabled=Path2D, RaisesException] boolean isPointInPath(Path2D? path, float x, float y, CanvasWindingRule winding); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] boolean isPointInPath(Path2D path, float x, float y); |
+ [StrictTypeChecking] boolean isPointInPath(float x, float y, CanvasWindingRule winding); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] boolean isPointInPath(Path2D path, float x, float y, CanvasWindingRule winding); |
boolean isPointInStroke(float x, float y); |
- [RuntimeEnabled=Path2D, RaisesException] boolean isPointInStroke(Path2D? path, float x, float y); |
+ [RuntimeEnabled=Path2D, StrictTypeChecking] boolean isPointInStroke(Path2D path, float x, float y); |
[RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView(); |
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void scrollPathIntoView(Path2D? path); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures, StrictTypeChecking] void scrollPathIntoView(Path2D path); |
// text |
attribute DOMString font; |