Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: chrome/browser/background/background_contents_service.cc

Issue 16295003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698