Index: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl |
index f57c1fc691f9a48da39303e67f7ad5293f5e4c5d..8c6e20de3208a69bc254b428e77f7a28e3ea277b 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl |
@@ -10,6 +10,8 @@ |
// FIXME: Exposed=(Window,Worker) |
RuntimeEnabled=GeometryInterfaces, |
] interface DOMMatrixReadOnly { |
+ [RaisesException, NewObject] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other); |
+ |
// These attributes are simple aliases for certain elements of the 4x4 matrix |
readonly attribute unrestricted double a; |
readonly attribute unrestricted double b; |
@@ -56,9 +58,9 @@ |
optional unrestricted double originX = 0, |
optional unrestricted double originY = 0, |
optional unrestricted double originZ = 0); |
- DOMMatrix multiply(DOMMatrix other); |
DOMMatrix skewX(optional unrestricted double sx = 0); |
DOMMatrix skewY(optional unrestricted double sy = 0); |
+ [RaisesException] DOMMatrix multiply(optional DOMMatrixInit other); |
DOMMatrix flipX(); |
DOMMatrix flipY(); |