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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: add some layout tests Created 3 years, 8 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/geometry/DOMMatrix.h
diff --git a/third_party/WebKit/Source/core/geometry/DOMMatrix.h b/third_party/WebKit/Source/core/geometry/DOMMatrix.h
index 9a80c28e6b98fbbe16701f0da09bdfa0ac02187f..82cebab4ca956e8e784a33519b1f78480ee173f2 100644
--- a/third_party/WebKit/Source/core/geometry/DOMMatrix.h
+++ b/third_party/WebKit/Source/core/geometry/DOMMatrix.h
@@ -6,6 +6,7 @@
#define DOMMatrix_h
#include "bindings/core/v8/ExceptionState.h"
+#include "core/dom/NotShared.h"
#include "core/geometry/DOMMatrixInit.h"
#include "core/geometry/DOMMatrixReadOnly.h"
@@ -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(NotShared<DOMFloat32Array>,
+ ExceptionState&);
+ static DOMMatrix* fromFloat64Array(NotShared<DOMFloat64Array>,
+ ExceptionState&);
static DOMMatrix* fromMatrix(DOMMatrixInit&, ExceptionState&);
void setA(double value) { m_matrix->setM11(value); }

Powered by Google App Engine
This is Rietveld 408576698