Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: third_party/WebKit/Source/core/dom/DOMMatrix.h

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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); }

Powered by Google App Engine
This is Rietveld 408576698