diff options
-rw-r--r-- | chrome/browser/io_thread.cc | 4 | ||||
-rw-r--r-- | chrome/browser/io_thread.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc index 30da91b..3f187e7 100644 --- a/chrome/browser/io_thread.cc +++ b/chrome/browser/io_thread.cc @@ -145,7 +145,7 @@ void IOThread::Init() { globals_->http_auth_handler_factory.reset(CreateDefaultAuthHandlerFactory()); } -void IOThread::CleanUp() { +void IOThread::CleanUpAfterMessageLoopDestruction() { // Not initialized in Init(). May not be initialized. if (dns_master_) { DCHECK(prefetch_observer_); @@ -187,7 +187,7 @@ void IOThread::CleanUp() { base::LeakTracker<URLFetcher>::CheckForLeaks(); base::LeakTracker<URLRequest>::CheckForLeaks(); - BrowserProcessSubThread::CleanUp(); + BrowserProcessSubThread::CleanUpAfterMessageLoopDestruction(); } net::HttpAuthHandlerFactory* IOThread::CreateDefaultAuthHandlerFactory() { diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h index 404f69e..af249f9 100644 --- a/chrome/browser/io_thread.h +++ b/chrome/browser/io_thread.h @@ -59,7 +59,7 @@ class IOThread : public BrowserProcessSubThread { protected: virtual void Init(); - virtual void CleanUp(); + virtual void CleanUpAfterMessageLoopDestruction(); private: net::HttpAuthHandlerFactory* CreateDefaultAuthHandlerFactory(); |