| Index: third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| index bd49b75582d01a38c0640f8c9ab75c8a11fb4979..8407f1eed075f6be5c69c11975f33fa3c6b69dd0 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| @@ -208,8 +208,8 @@ PassOwnPtr<Shape> Shape::createRasterShape(Image* image, float threshold, const
|
|
|
| WTF::ArrayBufferContents contents;
|
| imageBuffer->getImageData(Unmultiplied, IntRect(IntPoint(), imageRect.size()), contents);
|
| - RefPtr<DOMArrayBuffer> arrayBuffer = DOMArrayBuffer::create(contents);
|
| - RefPtr<DOMUint8ClampedArray> pixelArray = DOMUint8ClampedArray::create(arrayBuffer, 0, arrayBuffer->byteLength());
|
| + DOMArrayBuffer* arrayBuffer = DOMArrayBuffer::create(contents);
|
| + DOMUint8ClampedArray* pixelArray = DOMUint8ClampedArray::create(arrayBuffer, 0, arrayBuffer->byteLength());
|
| unsigned pixelArrayOffset = 3; // Each pixel is four bytes: RGBA.
|
| uint8_t alphaPixelThreshold = threshold * 255;
|
|
|
|
|