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 c78bfe50da335a02e5411f03f91910faa8aa748f..be5f499583f072f971818624598388e119148390 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
@@ -5,12 +5,13 @@ |
#ifndef DOMMatrixReadOnly_h |
#define DOMMatrixReadOnly_h |
+#include <memory> |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "core/dom/DOMTypedArray.h" |
+#include "core/dom/MaybeShared.h" |
#include "platform/heap/Handle.h" |
#include "platform/transforms/TransformationMatrix.h" |
-#include <memory> |
namespace blink { |
@@ -28,8 +29,12 @@ class CORE_EXPORT DOMMatrixReadOnly |
static DOMMatrixReadOnly* create(ExceptionState&); |
static DOMMatrixReadOnly* create(const String&, ExceptionState&); |
static DOMMatrixReadOnly* create(Vector<double>, ExceptionState&); |
- static DOMMatrixReadOnly* fromFloat32Array(DOMFloat32Array*, ExceptionState&); |
- static DOMMatrixReadOnly* fromFloat64Array(DOMFloat64Array*, ExceptionState&); |
+ static DOMMatrixReadOnly* fromFloat32Array( |
+ const MaybeShared<DOMFloat32Array>&, |
+ ExceptionState&); |
+ static DOMMatrixReadOnly* fromFloat64Array( |
+ const MaybeShared<DOMFloat64Array>&, |
+ ExceptionState&); |
static DOMMatrixReadOnly* fromMatrix(DOMMatrixInit&, ExceptionState&); |
virtual ~DOMMatrixReadOnly(); |