Index: chrome/browser/notifications/profile_notification.cc |
diff --git a/chrome/browser/notifications/profile_notification.cc b/chrome/browser/notifications/profile_notification.cc |
index 745820a2ee5862b857b3f778540eab4c2b540b5a..8c1b7ac83cd2d498346221eb1b6a469e93add97f 100644 |
--- a/chrome/browser/notifications/profile_notification.cc |
+++ b/chrome/browser/notifications/profile_notification.cc |
@@ -18,10 +18,9 @@ std::string ProfileNotification::GetProfileNotificationId( |
delegate_id.c_str()); |
} |
-ProfileNotification::ProfileNotification( |
- Profile* profile, |
- const Notification& notification) |
- : profile_(profile), |
+ProfileNotification::ProfileNotification(Profile* profile, |
+ const Notification& notification) |
+ : profile_id_(NotificationUIManager::GetProfileID(profile)), |
notification_( |
// Uses Notification's copy constructor to assign the message center |
// id, which should be unique for every profile + Notification pair. |