Index: Source/core/html/canvas/Path2D.idl |
diff --git a/Source/core/html/canvas/Path.idl b/Source/core/html/canvas/Path2D.idl |
similarity index 95% |
rename from Source/core/html/canvas/Path.idl |
rename to Source/core/html/canvas/Path2D.idl |
index 1e57d5bb6da04d8864e7726f4104d783127973d1..624e4be3671f83a8eb2270538e143b2cee90272b 100644 |
--- a/Source/core/html/canvas/Path.idl |
+++ b/Source/core/html/canvas/Path2D.idl |
@@ -29,12 +29,11 @@ |
[ |
RuntimeEnabled=ExperimentalCanvasFeatures, |
Constructor, |
- Constructor(Path path), |
- Constructor(DOMString text), |
- ImplementedAs=DOMPath |
-] interface Path { |
+ Constructor(Path2D path), |
+ Constructor(DOMString text) |
+] interface Path2D { |
- [RaisesException] void addPath(Path? path, SVGMatrix? transform); |
+ [RaisesException] void addPath(Path2D? path, SVGMatrix? transform); |
// FIXME: These methods should be shared with CanvasRenderingContext2D in the CanvasPathMethods interface. |
void closePath(); |