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-08-03 22:56:41 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 22:56:41 +0000
commit3a271654b537be04e044d0a7c9d7b1d87592af24 (patch)
treec0e94e511b88a364ecf3189100d690fb361fd524 /chrome/common/notification_service.cc
parent9e746269d1b2f2f9afd9f28148f197c40c06fb55 (diff)
downloadchromium_src-3a271654b537be04e044d0a7c9d7b1d87592af24.zip
chromium_src-3a271654b537be04e044d0a7c9d7b1d87592af24.tar.gz
chromium_src-3a271654b537be04e044d0a7c9d7b1d87592af24.tar.bz2
Make NotificationObserver leaks into LOG(INFO).
This severely cuts down on the WARNING spam seen when running UI tests. Peter already fixed the majority of NotificationObservers into using a scoped class to manage their lifetime, so the remaining observers are unlikely to be changed. BUG=11010 Review URL: http://codereview.chromium.org/159806 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/notification_service.cc')
-rw-r--r--chrome/common/notification_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/notification_service.cc b/chrome/common/notification_service.cc
index a125e31..f066b8e 100644
--- a/chrome/common/notification_service.cc
+++ b/chrome/common/notification_service.cc
@@ -125,7 +125,7 @@ NotificationService::~NotificationService() {
// 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"
+ LOG(INFO) << observer_counts_[i] << " notification observer(s) leaked"
<< " of notification type " << i;
}
}