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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 27048: Fix a crash when dns prefetching was being shut down without being started.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: drop the ui test Created 11 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 | chrome/browser/net/dns_global.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 5a12b8387a03f4dbd8666a60797703e530821d89..1e0d956f93adf59fd556ada5a10d00fe6c072335 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -178,7 +178,7 @@ BrowserProcessImpl::~BrowserProcessImpl() {
// Shutdown DNS prefetching now to ensure that network stack objects
// living on the IO thread get destroyed before the IO thread goes away.
io_thread_->message_loop()->PostTask(FROM_HERE,
- NewRunnableFunction(chrome_browser_net::ShutdownDnsPrefetch));
+ NewRunnableFunction(chrome_browser_net::EnsureDnsPrefetchShutdown));
// Need to stop io_thread_ before resource_dispatcher_host_, since
// io_thread_ may still deref ResourceDispatcherHost and handle resource
« no previous file with comments | « no previous file | chrome/browser/net/dns_global.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698