Index: chrome/browser/notifications/desktop_notification_service.cc |
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc |
index c53742b75fb2f626fc4704d57af2862bf9b577f7..f0d58bae4a6e812373aaaaebf87c81d2359e45a0 100644 |
--- a/chrome/browser/notifications/desktop_notification_service.cc |
+++ b/chrome/browser/notifications/desktop_notification_service.cc |
@@ -88,9 +88,17 @@ std::string DesktopNotificationService::AddIconNotification( |
const base::string16& replace_id, |
NotificationDelegate* delegate, |
Profile* profile) { |
- Notification notification(origin_url, icon, title, message, |
+ Notification notification(message_center::NOTIFICATION_TYPE_SIMPLE, |
+ origin_url, |
+ title, |
+ message, |
+ icon, |
blink::WebTextDirectionDefault, |
- base::string16(), replace_id, delegate); |
+ message_center::NotifierId(origin_url), |
+ base::string16(), |
+ replace_id, |
+ message_center::RichNotificationData(), |
+ delegate); |
g_browser_process->notification_ui_manager()->Add(notification, profile); |
return notification.delegate_id(); |
} |