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

Unified Diff: chrome/browser/io_thread.cc

Issue 569035: Remove the HostResolver::Shutdown() method.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and address comment Created 10 years, 10 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 | net/base/fixed_host_resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
===================================================================
--- chrome/browser/io_thread.cc (revision 38181)
+++ chrome/browser/io_thread.cc (working copy)
@@ -129,8 +129,11 @@
prefetch_observer_ = NULL;
}
- // TODO(eroman): temp hack for http://crbug.com/15513
- globals_->host_resolver->Shutdown();
+ // TODO(eroman): hack http://crbug.com/15513
+ if (globals_->host_resolver->IsHostResolverImpl()) {
+ static_cast<net::HostResolverImpl*>(
+ globals_->host_resolver.get())->Shutdown();
+ }
delete globals_;
globals_ = NULL;
« no previous file with comments | « no previous file | net/base/fixed_host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698