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

Unified Diff: chrome/browser/extensions/api/dial/dial_registry.cc

Issue 916103007: Remove DCHECK in DialRegistry dtor. This may trigger on browser shutdown if (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment. Created 5 years, 10 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 | « chrome/browser/extensions/api/dial/dial_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/dial/dial_registry.cc
diff --git a/chrome/browser/extensions/api/dial/dial_registry.cc b/chrome/browser/extensions/api/dial/dial_registry.cc
index 22d43c06f9b02c812608d352dc013dd656cece39..50f60f2be9e39eead8aa9c149d693b71590d4646 100644
--- a/chrome/browser/extensions/api/dial/dial_registry.cc
+++ b/chrome/browser/extensions/api/dial/dial_registry.cc
@@ -42,7 +42,6 @@ DialRegistry::DialRegistry(Observer* dial_api,
DialRegistry::~DialRegistry() {
DCHECK(thread_checker_.CalledOnValidThread());
- DCHECK_EQ(0, num_listeners_);
NetworkChangeNotifier::RemoveNetworkChangeObserver(this);
}
« no previous file with comments | « chrome/browser/extensions/api/dial/dial_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698