Index: chrome/browser/background/background_contents_service.cc |
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc |
index a959e975412a6831b69800e7eaea86ceb1969c2a..ff5325a72eb947d1ce1cbcc39fa0ccff665aa1f0 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 |