summaryrefslogtreecommitdiffstats
path: root/chrome/browser/io_thread.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-12 04:33:21 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-12 04:33:21 +0000
commit077851be33ef19822a8ac6497f6618894c30da56 (patch)
treef2f0bf33c206c5563fd04f06489bdc5fe9631f4b /chrome/browser/io_thread.cc
parent0fa0fbc5767ec406aa44c48ea5f775d158042bb2 (diff)
downloadchromium_src-077851be33ef19822a8ac6497f6618894c30da56.zip
chromium_src-077851be33ef19822a8ac6497f6618894c30da56.tar.gz
chromium_src-077851be33ef19822a8ac6497f6618894c30da56.tar.bz2
Break URLRequestContext=>ProxyScriptFetcher=>URLRequestContext ref cycle.
BUG=58572 TEST=None Review URL: http://codereview.chromium.org/3662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.cc')
-rw-r--r--chrome/browser/io_thread.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index a58689b..682e390 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -26,6 +26,7 @@
#include "net/base/net_util.h"
#include "net/http/http_auth_filter.h"
#include "net/http/http_auth_handler_factory.h"
+#include "net/proxy/proxy_script_fetcher.h"
namespace {
@@ -206,6 +207,8 @@ void IOThread::CleanUp() {
globals_->host_resolver.get()->GetAsHostResolverImpl()->Shutdown();
}
+ net::EnsureNoProxyScriptFetches();
+
// We will delete the NetLog as part of CleanUpAfterMessageLoopDestruction()
// in case any of the message loop destruction observers try to access it.
deferred_net_log_to_delete_.reset(globals_->net_log.release());