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); |