summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/common/notification_service.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/notification_service.cc b/chrome/common/notification_service.cc
index 9b7d6f9..a125e31 100644
--- a/chrome/common/notification_service.cc
+++ b/chrome/common/notification_service.cc
@@ -122,6 +122,9 @@ NotificationService::~NotificationService() {
#ifndef NDEBUG
for (int i = 0; i < NotificationType::NOTIFICATION_TYPE_COUNT; i++) {
if (observer_counts_[i] > 0) {
+ // This may not be completely fixable -- see
+ // http://code.google.com/p/chromium/issues/detail?id=11010 .
+ // But any new leaks should be fixed.
LOG(WARNING) << observer_counts_[i] << " notification observer(s) leaked"
<< " of notification type " << i;
}