| 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 f0b47fa35e2aa5067cbbf8f04b75881c3252a035..82deb1a5643259f641aaae2d639d281c1e786486 100644
|
| --- a/third_party/WebKit/Source/core/loader/ThreadableLoader.h
|
| +++ b/third_party/WebKit/Source/core/loader/ThreadableLoader.h
|
| @@ -128,7 +128,7 @@ struct CrossThreadCopier<ThreadableLoaderOptions> {
|
| // - ResourceLoaderOptions argument will be passed to the FetchRequest
|
| // that this ThreadableLoader creates. It can be altered e.g. when
|
| // redirect happens.
|
| -class CORE_EXPORT ThreadableLoader : public RefCounted<ThreadableLoader> {
|
| +class CORE_EXPORT ThreadableLoader {
|
| WTF_MAKE_NONCOPYABLE(ThreadableLoader);
|
| public:
|
| // ThreadableLoaderClient methods may not destroy the ThreadableLoader
|
| @@ -168,8 +168,8 @@ public:
|
| // ThreadableLoaderClient methods:
|
| // - may call cancel()
|
| // - can destroy the ThreadableLoader instance in them (by clearing
|
| - // RefPtr<ThreadableLoader>).
|
| - static PassRefPtr<ThreadableLoader> create(ExecutionContext&, ThreadableLoaderClient*, const ThreadableLoaderOptions&, const ResourceLoaderOptions&);
|
| + // OwnPtr<ThreadableLoader>).
|
| + static PassOwnPtr<ThreadableLoader> create(ExecutionContext&, ThreadableLoaderClient*, const ThreadableLoaderOptions&, const ResourceLoaderOptions&);
|
|
|
| // The methods on the ThreadableLoaderClient passed on create() call
|
| // may be called synchronous to start() call.
|
|
|