aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/DOMPointReadOnly.webidl
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2019-07-06 16:20:50 +0900
committerKagami Sascha Rosylight <saschanaz@outlook.com>2019-07-12 12:16:09 +0900
commit01151274f1487e630852680ba38ab5a651db44ec (patch)
tree5d83ec4a7d401706c2668ee5fac90e99ef734b1e /components/script/dom/webidls/DOMPointReadOnly.webidl
parent56f31c85ef9cc79140f375641302310c6680ded4 (diff)
downloadservo-01151274f1487e630852680ba38ab5a651db44ec.tar.gz
servo-01151274f1487e630852680ba38ab5a651db44ec.zip
Require default dictionary value for optional dicts
Diffstat (limited to 'components/script/dom/webidls/DOMPointReadOnly.webidl')
-rw-r--r--components/script/dom/webidls/DOMPointReadOnly.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/DOMPointReadOnly.webidl b/components/script/dom/webidls/DOMPointReadOnly.webidl
index b6478f31337..23643179333 100644
--- a/components/script/dom/webidls/DOMPointReadOnly.webidl
+++ b/components/script/dom/webidls/DOMPointReadOnly.webidl
@@ -14,7 +14,7 @@
optional unrestricted double z = 0, optional unrestricted double w = 1),
Exposed=(Window,Worker)]
interface DOMPointReadOnly {
- [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = null);
+ [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
readonly attribute unrestricted double x;
readonly attribute unrestricted double y;