summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_service.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 23:36:59 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 23:36:59 +0000
commitff73476ccb258e1a9f2ef811016d1ddb961d77cd (patch)
tree1bb8f22e812c6f4839406f856af6405682919435 /chrome/common/notification_service.cc
parent6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75 (diff)
downloadchromium_src-ff73476ccb258e1a9f2ef811016d1ddb961d77cd.zip
chromium_src-ff73476ccb258e1a9f2ef811016d1ddb961d77cd.tar.gz
chromium_src-ff73476ccb258e1a9f2ef811016d1ddb961d77cd.tar.bz2
Add a note pointing at a bug so others don't waste time.
Review URL: http://codereview.chromium.org/101002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/notification_service.cc')
-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;
}