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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO 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 eb0a3383bf7531926e245880a104d056fa1d4c98..eede89efcb2802d874c0f1f22a7a5c524d4c4f49 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) { matrix_->SetM11(value); }
« no previous file with comments | « third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp ('k') | third_party/WebKit/Source/core/geometry/DOMMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698