| Index: third_party/WebKit/Source/modules/filesystem/FileWriterBase.h
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriterBase.h b/third_party/WebKit/Source/modules/filesystem/FileWriterBase.h
|
| index dcace75a019511a5283ee51e8b38857643dbddfc..89d97d98121bc0ea996a5dda9d1c8f5923a9c6cf 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/FileWriterBase.h
|
| +++ b/third_party/WebKit/Source/modules/filesystem/FileWriterBase.h
|
| @@ -32,7 +32,8 @@
|
| #define FileWriterBase_h
|
|
|
| #include "platform/heap/Handle.h"
|
| -#include <memory>
|
| +#include "wtf/OwnPtr.h"
|
| +#include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
|
|
| @@ -41,7 +42,7 @@ class WebFileWriter;
|
| class FileWriterBase : public GarbageCollectedMixin {
|
| public:
|
| virtual ~FileWriterBase();
|
| - void initialize(std::unique_ptr<WebFileWriter>, long long length);
|
| + void initialize(PassOwnPtr<WebFileWriter>, long long length);
|
|
|
| long long position() const
|
| {
|
| @@ -75,7 +76,7 @@ protected:
|
| void seekInternal(long long position);
|
|
|
| private:
|
| - std::unique_ptr<WebFileWriter> m_writer;
|
| + OwnPtr<WebFileWriter> m_writer;
|
| long long m_position;
|
| long long m_length;
|
| };
|
|
|