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