Index: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
index 0bb35edfa2a2d5354e7b6dc7849d45f17b674c76..b1176d55dfbacedd90be61c2de8459589c9894fb 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
@@ -7,9 +7,9 @@ |
#include "core/fileapi/BlobCallback.h" |
#include "platform/geometry/IntSize.h" |
#include "platform/heap/Handle.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/Vector.h" |
#include "wtf/text/WTFString.h" |
-#include <memory> |
namespace blink { |
@@ -66,10 +66,10 @@ private: |
void dispose(); |
- std::unique_ptr<PNGImageEncoderState> m_pngEncoderState; |
- std::unique_ptr<JPEGImageEncoderState> m_jpegEncoderState; |
+ OwnPtr<PNGImageEncoderState> m_pngEncoderState; |
+ OwnPtr<JPEGImageEncoderState> m_jpegEncoderState; |
Member<DOMUint8ClampedArray> m_data; |
- std::unique_ptr<Vector<unsigned char>> m_encodedImage; |
+ OwnPtr<Vector<unsigned char>> m_encodedImage; |
int m_numRowsCompleted; |
const IntSize m_size; |