| Index: third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
|
| index 01016800c2ca73813452f96c551ce9436ff36c43..b56caee26df88a4ec6d5f0eec1bbe0feaba2ab20 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
|
| @@ -100,7 +100,7 @@ public:
|
| }
|
|
|
| private:
|
| - PassRefPtr<ThreadableLoader> createLoader(ExecutionContext* executionContext, ThreadableLoaderClient* client) const
|
| + PassOwnPtr<ThreadableLoader> createLoader(ExecutionContext* executionContext, ThreadableLoaderClient* client) const
|
| {
|
| ThreadableLoaderOptions options;
|
| options.preflightPolicy = ConsiderPreflight;
|
| @@ -151,14 +151,14 @@ private:
|
|
|
| RefPtr<BlobDataHandle> m_blobDataHandle;
|
| Persistent<FetchBlobDataConsumerHandle::LoaderFactory> m_loaderFactory;
|
| - RefPtr<ThreadableLoader> m_loader;
|
| + OwnPtr<ThreadableLoader> m_loader;
|
|
|
| bool m_receivedResponse;
|
| };
|
|
|
| class DefaultLoaderFactory final : public FetchBlobDataConsumerHandle::LoaderFactory {
|
| public:
|
| - PassRefPtr<ThreadableLoader> create(
|
| + PassOwnPtr<ThreadableLoader> create(
|
| ExecutionContext& executionContext,
|
| ThreadableLoaderClient* client,
|
| const ThreadableLoaderOptions& options,
|
|
|