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 98e9fa4ad0183d358ce45b6c66e210cac62e589f..09d78372653cf3ca5ea7a26b5009600caea41bc4 100644 |
--- a/content/child/web_url_loader_impl.cc |
+++ b/content/child/web_url_loader_impl.cc |
@@ -1167,7 +1167,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 |