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&); |