Index: third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp |
index 3c060826458bc552fe5c8ef504a1419a863bcc7b..e35505224bd6aa3f9e2be6d7ca1942ece41065b3 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp |
@@ -1210,7 +1210,7 @@ ImageData* BaseRenderingContext2D::getImageData(double sx, double sy, double sw, |
return nullptr; |
} |
- RefPtr<DOMArrayBuffer> arrayBuffer = DOMArrayBuffer::create(contents); |
+ DOMArrayBuffer* arrayBuffer = DOMArrayBuffer::create(contents); |
return ImageData::create( |
imageDataRect.size(), |
DOMUint8ClampedArray::create(arrayBuffer, 0, arrayBuffer->byteLength())); |