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

Unified Diff: Source/core/html/canvas/Path2D.idl

Issue 178673002: Rename Path to Path2D (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@path
Patch Set: Merge to head which includes isPoint and addPath changes. Created 6 years, 9 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
« no previous file with comments | « Source/core/html/canvas/Path2D.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/html/canvas/Path2D.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698