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

Unified Diff: third_party/WebKit/Source/core/html/ImageData.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/html/ImageData.h
diff --git a/third_party/WebKit/Source/core/html/ImageData.h b/third_party/WebKit/Source/core/html/ImageData.h
index e0ffd1d2a46ad38cd1378adbd4a30d247448a38d..86f5a59d10d995ff6f260d2483c942eee83d6333 100644
--- a/third_party/WebKit/Source/core/html/ImageData.h
+++ b/third_party/WebKit/Source/core/html/ImageData.h
@@ -33,6 +33,7 @@
#include "bindings/core/v8/Uint8ClampedArrayOrUint16ArrayOrFloat32Array.h"
#include "core/CoreExport.h"
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/NotShared.h"
#include "core/html/ImageDataColorSettings.h"
#include "core/html/canvas/CanvasRenderingContext.h"
#include "core/imagebitmap/ImageBitmapSource.h"
@@ -77,14 +78,14 @@ class CORE_EXPORT ImageData final : public GarbageCollectedFinalized<ImageData>,
static ImageData* Create(const IntSize&,
const ImageDataColorSettings* = nullptr);
static ImageData* Create(const IntSize&,
- DOMArrayBufferView*,
+ NotShared<DOMArrayBufferView>,
const ImageDataColorSettings* = nullptr);
static ImageData* Create(unsigned width, unsigned height, ExceptionState&);
- static ImageData* Create(DOMUint8ClampedArray*,
+ static ImageData* Create(NotShared<DOMUint8ClampedArray>,
unsigned width,
ExceptionState&);
- static ImageData* Create(DOMUint8ClampedArray*,
+ static ImageData* Create(NotShared<DOMUint8ClampedArray>,
unsigned width,
unsigned height,
ExceptionState&);
« no previous file with comments | « third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp ('k') | third_party/WebKit/Source/core/html/ImageData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698