| Index: chrome/browser/notifications/desktop_notification_service.cc
|
| diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
|
| index 29dff9dce5905938bbbe302eedfe010a450e6773..5bc8e80e8caef19ac325cf95e748605b09dc21f8 100644
|
| --- a/chrome/browser/notifications/desktop_notification_service.cc
|
| +++ b/chrome/browser/notifications/desktop_notification_service.cc
|
| @@ -140,7 +140,7 @@ NotificationPermissionInfoBarDelegate::NotificationPermissionInfoBarDelegate(
|
| : ConfirmInfoBarDelegate(contents),
|
| origin_(origin),
|
| display_name_(display_name),
|
| - profile_(contents->profile()),
|
| + profile_(static_cast<Profile*>(contents->context())),
|
| process_id_(process_id),
|
| route_id_(route_id),
|
| callback_context_(callback_context),
|
|
|