Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1797)

Unified Diff: content/child/resource_dispatcher.cc

Issue 2274833002: Teach mojo::Watcher in URLResponseBodyConsumer the correct task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/url_response_body_consumer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index ba2e76be7369227031660b7d64e8c7b19dca6659..700883705d88c71aa80c2fc345e2dfe4953bac18 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -98,7 +98,7 @@ class URLLoaderClientImpl final : public mojom::URLLoaderClient {
mojo::ScopedDataPipeConsumerHandle body) override {
DCHECK(!body_consumer_);
body_consumer_ = new URLResponseBodyConsumer(
- request_id_, resource_dispatcher_, std::move(body), task_runner_.get());
+ request_id_, resource_dispatcher_, std::move(body), task_runner_);
}
void OnComplete(const ResourceRequestCompletionStatus& status) override {
« no previous file with comments | « no previous file | content/child/url_response_body_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698