| Index: third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| index 6a958c40e72c3ad2b15a1df828ccb15010c27a08..bf78cfc8fc7baec15c6005b618074ed4ce89fd19 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
| @@ -490,7 +490,8 @@ TEST_F(ImageBitmapTest, ImageBitmapColorSpaceConversionStaticBitmapImage) {
|
| TEST_F(ImageBitmapTest, ImageBitmapColorSpaceConversionImageData) {
|
| unsigned char dataBuffer[4] = {255, 0, 0, 255};
|
| DOMUint8ClampedArray* data = DOMUint8ClampedArray::create(dataBuffer, 4);
|
| - ImageData* imageData = ImageData::create(IntSize(1, 1), data);
|
| + ImageData* imageData =
|
| + ImageData::create(IntSize(1, 1), NotShared<DOMUint8ClampedArray>(data));
|
| std::unique_ptr<uint8_t[]> srcPixel(new uint8_t[4]());
|
| memcpy(srcPixel.get(), imageData->data()->data(), 4);
|
|
|
|
|