| Index: third_party/WebKit/Source/core/loader/ThreadableLoader.h
|
| diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoader.h b/third_party/WebKit/Source/core/loader/ThreadableLoader.h
|
| index fc360b1d52b0be4befaff2e89bf5dfc62747065d..3d2b2d20aff83707451037ea35d51a712d6890a3 100644
|
| --- a/third_party/WebKit/Source/core/loader/ThreadableLoader.h
|
| +++ b/third_party/WebKit/Source/core/loader/ThreadableLoader.h
|
| @@ -36,7 +36,7 @@
|
| #include "platform/CrossThreadCopier.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Noncopyable.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -166,8 +166,8 @@ public:
|
| // ThreadableLoaderClient methods:
|
| // - may call cancel()
|
| // - can destroy the ThreadableLoader instance in them (by clearing
|
| - // OwnPtr<ThreadableLoader>).
|
| - static PassOwnPtr<ThreadableLoader> create(ExecutionContext&, ThreadableLoaderClient*, const ThreadableLoaderOptions&, const ResourceLoaderOptions&);
|
| + // std::unique_ptr<ThreadableLoader>).
|
| + static std::unique_ptr<ThreadableLoader> create(ExecutionContext&, ThreadableLoaderClient*, const ThreadableLoaderOptions&, const ResourceLoaderOptions&);
|
|
|
| // The methods on the ThreadableLoaderClient passed on create() call
|
| // may be called synchronous to start() call.
|
|
|