| 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..070580e404e4332a2242488d090303ed86052411 100644
|
| --- a/chrome/browser/notifications/profile_notification.cc
|
| +++ b/chrome/browser/notifications/profile_notification.cc
|
| @@ -18,16 +18,13 @@ std::string ProfileNotification::GetProfileNotificationId(
|
| delegate_id.c_str());
|
| }
|
|
|
| -ProfileNotification::ProfileNotification(
|
| - Profile* profile,
|
| - const Notification& notification)
|
| +ProfileNotification::ProfileNotification(ProfileID profile,
|
| + const Notification& notification)
|
| : profile_(profile),
|
| notification_(
|
| // Uses Notification's copy constructor to assign the message center
|
| // id, which should be unique for every profile + Notification pair.
|
| - GetProfileNotificationId(
|
| - notification.delegate_id(),
|
| - NotificationUIManager::GetProfileID(profile)),
|
| + GetProfileNotificationId(notification.delegate_id(), profile),
|
| notification) {
|
| DCHECK(profile);
|
| #if defined(OS_CHROMEOS)
|
|
|