Index: third_party/WebKit/Source/core/dom/DOMMatrix.h |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrix.h b/third_party/WebKit/Source/core/dom/DOMMatrix.h |
index 570198a44b7d1cbcbaccd7d3d4a8fcd99a0a12e9..e9086a837b8f7264d9d3ad190385268c9d670b90 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.h |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.h |
@@ -15,6 +15,8 @@ public: |
static DOMMatrix* create(); |
static DOMMatrix* create(DOMMatrixReadOnly*); |
static DOMMatrix* create(const SkMatrix44&); |
+ static DOMMatrix* fromFloat32Array(DOMFloat32Array*, ExceptionState&); |
+ static DOMMatrix* fromFloat64Array(DOMFloat64Array*, ExceptionState&); |
void setA(double value) { m_matrix->setM11(value); } |
void setB(double value) { m_matrix->setM12(value); } |
@@ -53,6 +55,8 @@ public: |
private: |
DOMMatrix(const TransformationMatrix&, bool is2D = true); |
+ DOMMatrix(DOMFloat32Array*); |
+ DOMMatrix(DOMFloat64Array*); |
void setIs2D(bool value); |
}; |