Index: content/child/web_url_loader_impl.h |
diff --git a/content/child/web_url_loader_impl.h b/content/child/web_url_loader_impl.h |
index ebad018f21205c64ac762017fe606ae1a81381da..2e724b8d531e3d0965f56c06856db53ab9e8495c 100644 |
--- a/content/child/web_url_loader_impl.h |
+++ b/content/child/web_url_loader_impl.h |
@@ -36,9 +36,10 @@ struct StreamOverrideParameters { |
class CONTENT_EXPORT WebURLLoaderImpl |
: public NON_EXPORTED_BASE(blink::WebURLLoader) { |
public: |
- explicit WebURLLoaderImpl( |
- ResourceDispatcher* resource_dispatcher, |
- scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
+ |
+ // Takes ownership of |web_task_runner|. |
+ WebURLLoaderImpl(ResourceDispatcher* resource_dispatcher, |
+ blink::WebTaskRunner* web_task_runner); |
~WebURLLoaderImpl() override; |
static void PopulateURLResponse(const GURL& url, |
@@ -67,6 +68,7 @@ class CONTENT_EXPORT WebURLLoaderImpl |
int intra_priority_value) override; |
bool attachThreadedDataReceiver( |
blink::WebThreadedDataReceiver* threaded_data_receiver) override; |
+ void setLoadingTaskRunner(blink::WebTaskRunner* loading_task_runner) override; |
private: |
class Context; |