diff options
Diffstat (limited to 'components/script/dom/webidls/DOMMatrix.webidl')
-rw-r--r-- | components/script/dom/webidls/DOMMatrix.webidl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/DOMMatrix.webidl b/components/script/dom/webidls/DOMMatrix.webidl index d617f20af99..ffaa720b7d9 100644 --- a/components/script/dom/webidls/DOMMatrix.webidl +++ b/components/script/dom/webidls/DOMMatrix.webidl @@ -14,7 +14,7 @@ Exposed=(Window,Worker)] interface DOMMatrix : DOMMatrixReadOnly { - [NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other); + [NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other = {}); [NewObject, Throws] static DOMMatrix fromFloat32Array(Float32Array array32); [NewObject, Throws] static DOMMatrix fromFloat64Array(Float64Array array64); @@ -44,8 +44,8 @@ interface DOMMatrix : DOMMatrixReadOnly { inherit attribute unrestricted double m44; // Mutable transform methods - [Throws] DOMMatrix multiplySelf(optional DOMMatrixInit other); - [Throws] DOMMatrix preMultiplySelf(optional DOMMatrixInit other); + [Throws] DOMMatrix multiplySelf(optional DOMMatrixInit other = {}); + [Throws] DOMMatrix preMultiplySelf(optional DOMMatrixInit other = {}); DOMMatrix translateSelf(optional unrestricted double tx = 0, optional unrestricted double ty = 0, optional unrestricted double tz = 0); |