Index: Source/core/html/canvas/CanvasRenderingContext2D.idl |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
index c46a82b1fc97c93490980949988f39223539c1e9..ba5971c1efe3acdbc0a82d76b1df107688cf1bc2 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
@@ -88,7 +88,15 @@ interface CanvasRenderingContext2D : CanvasRenderingContext { |
[RuntimeEnabled=ExperimentalCanvasFeatures] void clip(Path path); |
void clip(CanvasWindingRule winding); |
[RuntimeEnabled=ExperimentalCanvasFeatures] void clip(Path path, CanvasWindingRule winding); |
- boolean isPointInPath(float x, float y, optional CanvasWindingRule winding); |
+ |
+ // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed. |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] boolean isPointInPath(Path path, float x, float y); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] boolean isPointInPath(Path path, float x, float y, CanvasWindingRule winding); |
+ boolean isPointInPath(float x, float y); |
+ boolean isPointInPath(float x, float y, CanvasWindingRule winding); |
+ |
+ // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed. |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] boolean isPointInStroke(Path path, float x, float y); |
boolean isPointInStroke(float x, float y); |
// text |