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

Unified Diff: third_party/WebKit/Source/core/dom/DOMPoint.idl

Issue 2586083002: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. (Closed)
Patch Set: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. Created 4 years 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
Index: third_party/WebKit/Source/core/dom/DOMPoint.idl
diff --git a/third_party/WebKit/Source/core/dom/DOMPoint.idl b/third_party/WebKit/Source/core/dom/DOMPoint.idl
index 6522bbcb6d4d5c289ef037e241efa9d78900a856..e521dc308311fd9b967e902f754ccb7bdb87f65d 100644
--- a/third_party/WebKit/Source/core/dom/DOMPoint.idl
+++ b/third_party/WebKit/Source/core/dom/DOMPoint.idl
@@ -13,6 +13,7 @@
// FIXME: Exposed=(Window,Worker)
RuntimeEnabled=GeometryInterfaces,
] interface DOMPoint : DOMPointReadOnly {
+ [NewObject] static DOMPoint fromPoint(optional DOMPointInit other);
inherit attribute unrestricted double x;
inherit attribute unrestricted double y;
inherit attribute unrestricted double z;

Powered by Google App Engine
This is Rietveld 408576698