summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 17:41:33 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 17:41:33 +0000
commit7635957f7207b6b4824a2c3ab8c0cfa9f5b64f65 (patch)
tree569d768192caa470be0c81ea43b2ac5ea4820768 /net
parent552fb601aa696cc69de9fbf69f17438ac1f6f3a9 (diff)
downloadchromium_src-7635957f7207b6b4824a2c3ab8c0cfa9f5b64f65.zip
chromium_src-7635957f7207b6b4824a2c3ab8c0cfa9f5b64f65.tar.gz
chromium_src-7635957f7207b6b4824a2c3ab8c0cfa9f5b64f65.tar.bz2
Disable DCHECK'ing that all NetworkChangeNotifiers are removed.
BUG=34391 Review URL: http://codereview.chromium.org/560026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/network_change_notifier_helper.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/base/network_change_notifier_helper.cc b/net/base/network_change_notifier_helper.cc
index b18d07e..052e3ef8 100644
--- a/net/base/network_change_notifier_helper.cc
+++ b/net/base/network_change_notifier_helper.cc
@@ -14,7 +14,10 @@ NetworkChangeNotifierHelper::NetworkChangeNotifierHelper()
: is_notifying_observers_(false) {}
NetworkChangeNotifierHelper::~NetworkChangeNotifierHelper() {
- DCHECK(observers_.empty());
+ // TODO(willchan): Re-enable this DCHECK after fixing http://crbug.com/34391
+ // since we're leaking URLRequestContextGetters that cause this DCHECK to
+ // fire.
+ // DCHECK(observers_.empty());
}
void NetworkChangeNotifierHelper::AddObserver(Observer* observer) {