Index: chrome/browser/notifications/profile_notification.h |
diff --git a/chrome/browser/notifications/profile_notification.h b/chrome/browser/notifications/profile_notification.h |
index 13952333e2ec142ee3496ea563793f6974cc4eba..8350121866c6198202e7d785c3c19e26b5f5e16b 100644 |
--- a/chrome/browser/notifications/profile_notification.h |
+++ b/chrome/browser/notifications/profile_notification.h |
@@ -24,12 +24,12 @@ class ProfileNotification { |
ProfileNotification(Profile* profile, const Notification& notification); |
~ProfileNotification(); |
- Profile* profile() const { return profile_; } |
+ ProfileID profile_id() const { return profile_id_; } |
const Notification& notification() const { return notification_; } |
private: |
- // Weak, guaranteed not to be used after profile removal by parent class. |
- Profile* profile_; |
+ // Used for equality comparision in notification maps. |
+ ProfileID profile_id_; |
Notification notification_; |
}; |