Index: chrome/browser/metrics/metrics_service.cc |
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc |
index 9106afaf1c0438f08451cbd82a6ce3fd476f9b55..210cf0139aed6316e7d50c486b0f8618cbf8bbb6 100644 |
--- a/chrome/browser/metrics/metrics_service.cc |
+++ b/chrome/browser/metrics/metrics_service.cc |
@@ -535,7 +535,7 @@ bool MetricsService::reporting_active() const { |
void MetricsService::SetUpNotifications(NotificationRegistrar* registrar, |
NotificationObserver* observer) { |
registrar->Add(observer, chrome::NOTIFICATION_BROWSER_OPENED, |
- NotificationService::AllSources()); |
+ NotificationService::AllBrowserContextsAndSources()); |
registrar->Add(observer, chrome::NOTIFICATION_BROWSER_CLOSED, |
NotificationService::AllSources()); |
registrar->Add(observer, content::NOTIFICATION_USER_ACTION, |