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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: remove unused checks 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/DOMMatrixReadOnly.h
diff --git a/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.h b/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.h
index 71a8e1321982c81db28f43761c99082ac660bb79..d7a1cc71ab1a1eb3e53f260ed63796f2bc22c554 100644
--- a/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.h
+++ b/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.h
@@ -9,6 +9,7 @@
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/NotShared.h"
#include "platform/heap/Handle.h"
#include "platform/transforms/TransformationMatrix.h"
@@ -28,8 +29,10 @@ 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 NotShared<DOMFloat32Array>&,
+ ExceptionState&);
+ static DOMMatrixReadOnly* fromFloat64Array(const NotShared<DOMFloat64Array>&,
+ ExceptionState&);
static DOMMatrixReadOnly* fromMatrix(DOMMatrixInit&, ExceptionState&);
virtual ~DOMMatrixReadOnly();

Powered by Google App Engine
This is Rietveld 408576698