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

Unified Diff: chrome/browser/io_thread.cc

Issue 10096017: Partially reland r131930. Only assert on system context leaks this time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index d0caecac8319bf8209f653495dc80dfbb433c973..1e978791dd911934ed658eaf0ebd39448120a3af 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -465,6 +465,8 @@ void IOThread::CleanUp() {
net::ShutdownNSSHttpIO();
#endif // defined(USE_NSS)
+ globals_->system_request_context->AssertNoURLRequests();
+
system_url_request_context_getter_ = NULL;
// Release objects that the net::URLRequestContext could have been pointing
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698