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

Unified Diff: third_party/WebKit/Source/core/html/Float32ImageData.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/html/Float32ImageData.h
diff --git a/third_party/WebKit/Source/core/html/Float32ImageData.h b/third_party/WebKit/Source/core/html/Float32ImageData.h
index 5247febc1d5b37e34f62c86fd23f015edcf6019d..ad6b95b95701f38610465e52fa77970c103febf4 100644
--- a/third_party/WebKit/Source/core/html/Float32ImageData.h
+++ b/third_party/WebKit/Source/core/html/Float32ImageData.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/MaybeShared.h"
#include "core/html/ImageData.h"
#include "core/imagebitmap/ImageBitmapSource.h"
#include "platform/geometry/IntRect.h"
@@ -27,7 +28,8 @@ class CORE_EXPORT Float32ImageData final
public:
static Float32ImageData* create(const IntSize&);
- static Float32ImageData* create(const IntSize&, DOMFloat32Array*);
+ static Float32ImageData* create(const IntSize&,
+ const MaybeShared<DOMFloat32Array>&);
static Float32ImageData* create(unsigned width,
unsigned height,
ExceptionState&);
@@ -35,18 +37,18 @@ class CORE_EXPORT Float32ImageData final
unsigned height,
String colorSpace,
ExceptionState&);
- static Float32ImageData* create(DOMFloat32Array*,
+ static Float32ImageData* create(const MaybeShared<DOMFloat32Array>&,
unsigned width,
ExceptionState&);
- static Float32ImageData* create(DOMFloat32Array*,
+ static Float32ImageData* create(const MaybeShared<DOMFloat32Array>&,
unsigned width,
String colorSpace,
ExceptionState&);
- static Float32ImageData* create(DOMFloat32Array*,
+ static Float32ImageData* create(const MaybeShared<DOMFloat32Array>&,
unsigned width,
unsigned height,
ExceptionState&);
- static Float32ImageData* create(DOMFloat32Array*,
+ static Float32ImageData* create(const MaybeShared<DOMFloat32Array>&,
unsigned width,
unsigned height,
String colorSpace,

Powered by Google App Engine
This is Rietveld 408576698