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

Unified Diff: mojo/services/network/url_loader_impl.cc

Issue 1162023009: Fix network crash. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 5 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/url_loader_impl.cc
diff --git a/mojo/services/network/url_loader_impl.cc b/mojo/services/network/url_loader_impl.cc
index beffbc68d812ff57744265fcc0e746b86e97d518..9df7ccd9175a8d281fbd83873a5c4fcb69e1ab9b 100644
--- a/mojo/services/network/url_loader_impl.cc
+++ b/mojo/services/network/url_loader_impl.cc
@@ -389,8 +389,8 @@ void URLLoaderImpl::OnResponseStarted(net::URLRequest* url_request) {
data_pipe.producer_handle.Pass()));
SendResponse(response.Pass());
- body_fetcher->Start();
body_fetchers_.push_back(std::move(body_fetcher));
+ body_fetchers_.back()->Start();
}
void URLLoaderImpl::OnReadCompleted(net::URLRequest* url_request,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698