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

Unified Diff: chrome/browser/notifications/sync_notifier/synced_notification.cc

Issue 16296002: 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/notifications/sync_notifier/synced_notification.cc
diff --git a/chrome/browser/notifications/sync_notifier/synced_notification.cc b/chrome/browser/notifications/sync_notifier/synced_notification.cc
index 813846daf060ddaa4065da6555a00883c79edd3d..2dbec6a5f6efcafe16b0016a6243a6757ccab352 100644
--- a/chrome/browser/notifications/sync_notifier/synced_notification.cc
+++ b/chrome/browser/notifications/sync_notifier/synced_notification.cc
@@ -151,7 +151,7 @@ void SyncedNotification::Show(NotificationUIManager* notification_manager,
display_source,
replace_key,
&optional_fields,
- delegate);
+ delegate.get());
notification_manager->Add(ui_notification, profile);
} else {
@@ -163,7 +163,7 @@ void SyncedNotification::Show(NotificationUIManager* notification_manager,
WebKit::WebTextDirectionDefault,
display_source,
replace_key,
- delegate);
+ delegate.get());
notification_manager->Add(ui_notification, profile);

Powered by Google App Engine
This is Rietveld 408576698