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 b4ccb8ce6a302835f6c77780ca98c4d37f3f29aa..c888e81c603344afd814acb5b92fb85b80aecda0 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.h |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.h |
@@ -8,6 +8,7 @@ |
#include "bindings/core/v8/ExceptionState.h" |
#include "core/dom/DOMMatrixInit.h" |
#include "core/dom/DOMMatrixReadOnly.h" |
+#include "core/dom/MaybeShared.h" |
namespace blink { |
@@ -21,8 +22,10 @@ class CORE_EXPORT DOMMatrix : public DOMMatrixReadOnly { |
static DOMMatrix* create(const SkMatrix44&, ExceptionState&); |
static DOMMatrix* create(const String&, ExceptionState&); |
static DOMMatrix* create(Vector<double>, ExceptionState&); |
- static DOMMatrix* fromFloat32Array(DOMFloat32Array*, ExceptionState&); |
- static DOMMatrix* fromFloat64Array(DOMFloat64Array*, ExceptionState&); |
+ static DOMMatrix* fromFloat32Array(const MaybeShared<DOMFloat32Array>&, |
+ ExceptionState&); |
+ static DOMMatrix* fromFloat64Array(const MaybeShared<DOMFloat64Array>&, |
+ ExceptionState&); |
static DOMMatrix* fromMatrix(DOMMatrixInit&, ExceptionState&); |
void setA(double value) { m_matrix->setM11(value); } |