Index: third_party/WebKit/Source/core/dom/DOMMatrix.idl |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrix.idl b/third_party/WebKit/Source/core/dom/DOMMatrix.idl |
index 02437f35d079ccdbe88cbc634a94b6f1800fede5..c82fc22351173bc5021a5642a9074146cb5ff300 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.idl |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.idl |
@@ -11,6 +11,8 @@ |
// FIXME: Exposed=(Window,Worker) |
RuntimeEnabled=GeometryInterfaces, |
] interface DOMMatrix : DOMMatrixReadOnly { |
+ [RaisesException, NewObject] static DOMMatrix fromMatrix(optional DOMMatrixInit other); |
+ |
// These attributes are simple aliases for certain elements of the 4x4 matrix |
inherit attribute unrestricted double a; |
inherit attribute unrestricted double b; |
@@ -38,8 +40,8 @@ |
// FIXME: Should implement some methods (See: crbug.com/388780) |
// Mutable transform methods |
- DOMMatrix multiplySelf(DOMMatrix other); |
- DOMMatrix preMultiplySelf(DOMMatrix other); |
+ [RaisesException] DOMMatrix multiplySelf(optional DOMMatrixInit other); |
+ [RaisesException] DOMMatrix preMultiplySelf(optional DOMMatrixInit other); |
DOMMatrix translateSelf(unrestricted double tx, |
unrestricted double ty, |
optional unrestricted double tz = 0); |