summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background/background_contents_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/background/background_contents_service.cc')
-rw-r--r--chrome/browser/background/background_contents_service.cc15
1 files changed, 7 insertions, 8 deletions
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index a959e97..ff5325a 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -139,14 +139,13 @@ void NotificationImageReady(
notification_icon = rb.GetImageNamed(IDR_EXTENSION_DEFAULT_ICON);
}
string16 title; // no notification title
- DesktopNotificationService::AddIconNotification(
- extension_url,
- title,
- message,
- notification_icon,
- string16(),
- delegate,
- profile);
+ DesktopNotificationService::AddIconNotification(extension_url,
+ title,
+ message,
+ notification_icon,
+ string16(),
+ delegate.get(),
+ profile);
}
#endif