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..80617cb65a8b09dfe1259255d6bee59b01090329 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); |
+ template <typename T> |
+ DOMMatrix(T sequence, int size); |
void setIs2D(bool value); |
}; |