| 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 007947c366e67c3bd4d36e2f8cf99ac28c9aa18f..db97b1bd990ec8f673d2b3ee419df85574544b2c 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;
|
|
|