Index: content/child/web_url_loader_impl.cc |
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc |
index 6a68b7f1de2800e9bae15fa8bf3cac93938f41a6..17da0e103519d484dec9df5c4376e17e589aa2f0 100644 |
--- a/content/child/web_url_loader_impl.cc |
+++ b/content/child/web_url_loader_impl.cc |
@@ -1168,7 +1168,7 @@ void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority, |
void WebURLLoaderImpl::setLoadingTaskRunner( |
blink::WebTaskRunner* loading_task_runner) { |
- context_->SetTaskRunner(loading_task_runner->taskRunner()); |
+ context_->SetTaskRunner(loading_task_runner->toSingleThreadTaskRunner()); |
} |
// This function is implemented here because it uses net functions. it is |