diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 18:34:56 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 18:34:56 +0000 |
commit | cafe4ad25440a7752f5a4d230adf29b16a4766b0 (patch) | |
tree | 125f3d638cbaf3a3db61c91904c0eddae1e8ad34 /chrome/browser/notifications | |
parent | 96561cb87ad2679df630ddc0d1561949d78bbcff (diff) | |
download | chromium_src-cafe4ad25440a7752f5a4d230adf29b16a4766b0.zip chromium_src-cafe4ad25440a7752f5a4d230adf29b16a4766b0.tar.gz chromium_src-cafe4ad25440a7752f5a4d230adf29b16a4766b0.tar.bz2 |
Removal of Profile from content part 3.
BUG=76788
TEST=no change visible
Review URL: http://codereview.chromium.org/7522018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r-- | chrome/browser/notifications/desktop_notification_service.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc index 29dff9d..53dce9d 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_(Profile::FromBrowserContext(contents->browser_context())), process_id_(process_id), route_id_(route_id), callback_context_(callback_context), |