Index: chrome/browser/notifications/platform_notification_service_impl.cc |
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc |
index be6db4c970444e312fc2fded2c7fd7479c78499d..cafd270ced855216c3d609f543e6e1052110780a 100644 |
--- a/chrome/browser/notifications/platform_notification_service_impl.cc |
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc |
@@ -320,8 +320,8 @@ bool PlatformNotificationServiceImpl::GetDisplayedPersistentNotifications( |
return false; // Tests will not have a message center. |
// TODO(peter): Filter for persistent notifications only. |
- *displayed_notifications = |
- GetNotificationUIManager()->GetAllIdsByProfile(profile); |
+ *displayed_notifications = GetNotificationUIManager()->GetAllIdsByProfile( |
+ NotificationUIManager::GetProfileID(profile)); |
return true; |
#else |