summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_sub_thread.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-25 18:48:06 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-25 18:48:06 +0000
commit435901150ddc838314fdfcb625509a5036292c34 (patch)
treeef0564eb886d59f57a2007f9c4e3c66f2f835411 /chrome/browser/browser_process_sub_thread.cc
parenta778b07eae5f0773ce0b9fa7be6738c12dfe3fc2 (diff)
downloadchromium_src-435901150ddc838314fdfcb625509a5036292c34.zip
chromium_src-435901150ddc838314fdfcb625509a5036292c34.tar.gz
chromium_src-435901150ddc838314fdfcb625509a5036292c34.tar.bz2
Revert 63578 - Release ChromeURLRequestContextGetters' references on IO thread shutdown.
We register all ChromeURLRequestContextGetters that have a reference to a ChromeURLRequestContext with the IOThread. We unregister them when they go away. In IOThread::CleanUp(), we tell the known ChromeURLRequestContextGetters to release their references to ChromeURLRequestContexts. BUG=58859 TEST=none Review URL: http://codereview.chromium.org/3686003 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/4014010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_sub_thread.cc')
-rw-r--r--chrome/browser/browser_process_sub_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_process_sub_thread.cc b/chrome/browser/browser_process_sub_thread.cc
index 0ddbf3b..39729d0 100644
--- a/chrome/browser/browser_process_sub_thread.cc
+++ b/chrome/browser/browser_process_sub_thread.cc
@@ -28,7 +28,7 @@ void BrowserProcessSubThread::Init() {
notification_service_ = new NotificationService;
}
-void BrowserProcessSubThread::CleanUpAfterMessageLoopDestruction() {
+void BrowserProcessSubThread::CleanUp() {
delete notification_service_;
notification_service_ = NULL;