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

Unified Diff: content/child/url_response_body_consumer.cc

Issue 2814013004: Avoid IPC message creation between URLLoaderClientImpl and ResourceDispatcher (Closed)
Patch Set: fix Created 3 years, 8 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 | « content/child/url_loader_client_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/url_response_body_consumer.cc
diff --git a/content/child/url_response_body_consumer.cc b/content/child/url_response_body_consumer.cc
index 1095ea15c3eee1a6e9bfc273a85289ac30b74618..48f1153272f79831e0c17301362d76526f43a368 100644
--- a/content/child/url_response_body_consumer.cc
+++ b/content/child/url_response_body_consumer.cc
@@ -166,8 +166,7 @@ void URLResponseBodyConsumer::NotifyCompletionIfAppropriate() {
// Cancel this instance in order not to notify twice.
Cancel();
- resource_dispatcher_->DispatchMessage(
- ResourceMsg_RequestComplete(request_id_, completion_status_));
+ resource_dispatcher_->OnRequestComplete(request_id_, completion_status_);
// |this| may be deleted.
}
« no previous file with comments | « content/child/url_loader_client_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698