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

Unified Diff: content/browser/browser_process_sub_thread.cc

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years, 8 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
Index: content/browser/browser_process_sub_thread.cc
diff --git a/content/browser/browser_process_sub_thread.cc b/content/browser/browser_process_sub_thread.cc
index c521af2deac40897b5b24757d39633439f778e61..5aac8e9ae93527ff868ed073eb58031332d400f6 100644
--- a/content/browser/browser_process_sub_thread.cc
+++ b/content/browser/browser_process_sub_thread.cc
@@ -53,9 +53,6 @@ void BrowserProcessSubThread::CleanUp() {
BrowserThreadImpl::CleanUp();
- if (BrowserThread::CurrentlyOn(BrowserThread::IO))
- IOThreadPostCleanUp();
-
delete notification_service_;
notification_service_ = NULL;
@@ -81,9 +78,4 @@ void BrowserProcessSubThread::IOThreadPreCleanUp() {
BrowserChildProcessHostImpl::TerminateAll();
}
-void BrowserProcessSubThread::IOThreadPostCleanUp() {
- // net::URLRequest instances must NOT outlive the IO thread.
- base::debug::LeakTracker<net::URLRequest>::CheckForLeaks();
-}
-
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698