| Index: Source/core/html/canvas/CanvasRenderingContext2D.idl
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl
|
| index 14e38f0f330eb11b01e4786a4854d7d0cb62cfb6..4b04d004d3634b160ec10bb96e5843060fd2198c 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.idl
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl
|
| @@ -65,7 +65,7 @@ interface CanvasRenderingContext2D {
|
|
|
| void beginPath();
|
|
|
| - attribute Path currentPath;
|
| + attribute Path2D currentPath;
|
|
|
| // FIXME: These methods should be shared with CanvasRenderingContext2D in the CanvasPathMethods interface.
|
| void closePath();
|
| @@ -80,26 +80,26 @@ interface CanvasRenderingContext2D {
|
|
|
| // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
|
| void fill();
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void fill(Path? path);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void fill(Path2D? path);
|
| void fill(CanvasWindingRule winding);
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void fill(Path? path, CanvasWindingRule winding);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void fill(Path2D? path, CanvasWindingRule winding);
|
| void stroke();
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void stroke(Path? path);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void stroke(Path2D? path);
|
| // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
|
| void clip();
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void clip(Path? path);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void clip(Path2D? path);
|
| void clip(CanvasWindingRule winding);
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void clip(Path? path, CanvasWindingRule winding);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] 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=ExperimentalCanvasFeatures, RaisesException] boolean isPointInPath(Path? path, float x, float y);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInPath(Path2D? path, float x, float y);
|
| boolean isPointInPath(float x, float y, CanvasWindingRule winding);
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInPath(Path? path, float x, float y, CanvasWindingRule winding);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInPath(Path2D? path, float x, float y, CanvasWindingRule winding);
|
|
|
| // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
|
| boolean isPointInStroke(float x, float y);
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInStroke(Path? path, float x, float y);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] boolean isPointInStroke(Path2D? path, float x, float y);
|
|
|
| // text
|
| attribute DOMString font;
|
|
|