| Index: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
|
| index 87811008138cfca903ee94a1f0495dc086c33679..0ea4fc061382f39f833923a598e7dfea5998649b 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
|
| @@ -17,6 +17,7 @@
|
| #include "public/platform/WebTraceLocation.h"
|
| #include "wtf/CurrentTime.h"
|
| #include "wtf/Functional.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -90,7 +91,7 @@ CanvasAsyncBlobCreator::CanvasAsyncBlobCreator(DOMUint8ClampedArray* data, MimeT
|
| , m_callback(callback)
|
| {
|
| ASSERT(m_data->length() == (unsigned) (size.height() * size.width() * 4));
|
| - m_encodedImage = adoptPtr(new Vector<unsigned char>());
|
| + m_encodedImage = wrapUnique(new Vector<unsigned char>());
|
| m_pixelRowStride = size.width() * NumChannelsPng;
|
| m_idleTaskStatus = IdleTaskNotSupported;
|
| m_numRowsCompleted = 0;
|
|
|