Index: net/dns/async_host_resolver.cc |
diff --git a/net/dns/async_host_resolver.cc b/net/dns/async_host_resolver.cc |
index ff93c3e52f794bc09719bbda2179e43a8f96ba97..6f6552bcfa684a7c680c9076ef19733c45e9918c 100644 |
--- a/net/dns/async_host_resolver.cc |
+++ b/net/dns/async_host_resolver.cc |
@@ -397,8 +397,8 @@ void AsyncHostResolver::OnDnsRequestComplete( |
requestlist_map_.erase(rit); |
// Cleanup |dns_req| and start a new one if there are pending requests. |
- delete dns_req; |
dns_requests_.remove(dns_req); |
+ delete dns_req; |
ProcessPending(); |
} |