Index: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
index cd19086fb95f05e087478c3ee094075bfa73a5c1..1da22d8af470f4b63d6aa273a0214e7d9f6b5b1e 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
@@ -20,6 +20,9 @@ class DOMMatrixReadOnly : public GarbageCollectedFinalized<DOMMatrixReadOnly>, p |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static DOMMatrixReadOnly* create(Vector<double>, ExceptionState&); |
+ static DOMMatrixReadOnly* fromFloat32Array(DOMFloat32Array*, ExceptionState&); |
+ static DOMMatrixReadOnly* fromFloat64Array(DOMFloat64Array*, ExceptionState&); |
+ |
virtual ~DOMMatrixReadOnly(); |
double a() const { return m_matrix->m11(); } |
@@ -72,6 +75,8 @@ public: |
protected: |
DOMMatrixReadOnly() {} |
+ DOMMatrixReadOnly(DOMFloat32Array*); |
+ DOMMatrixReadOnly(DOMFloat64Array*); |
// TransformationMatrix needs to be 16-byte aligned. PartitionAlloc |
// supports 16-byte alignment but Oilpan doesn't. So we use an std::unique_ptr |
// to allocate TransformationMatrix on PartitionAlloc. |