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

Unified Diff: net/dns/host_resolver_impl.cc

Issue 2214693002: First step to remove SingleRequestHostResolver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: single 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
Index: net/dns/host_resolver_impl.cc
diff --git a/net/dns/host_resolver_impl.cc b/net/dns/host_resolver_impl.cc
index a599adc6bcb7378f75c43583d56e97415c71cd12..2f087ca15712b4f7b1d42c54c8dbe238bdd2b8b3 100644
--- a/net/dns/host_resolver_impl.cc
+++ b/net/dns/host_resolver_impl.cc
@@ -1319,13 +1319,12 @@ class HostResolverImpl::Job : public PrioritizedDispatcher::Job,
net_log_.EndEvent(NetLog::TYPE_HOST_RESOLVER_IMPL_JOB);
}
// else CompleteRequests logged EndEvent.
-
if (!requests_.empty()) {
// Log any remaining Requests as cancelled.
for (RequestImpl* req : requests_) {
DCHECK_EQ(this, req->job());
- req->OnJobCancelled(this);
LogCancelRequest(req->source_net_log(), req->info());
+ req->OnJobCancelled(this);
}
requests_.clear();
}
« no previous file with comments | « content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc ('k') | net/ftp/ftp_network_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698