| Index: chrome/browser/extensions/api/notifications/notifications_api.cc
|
| diff --git a/chrome/browser/extensions/api/notifications/notifications_api.cc b/chrome/browser/extensions/api/notifications/notifications_api.cc
|
| index b870ce898523ec6848cf56a46bbf29e244457af3..788c41eb1e05d06a419a11cfc6ed4d53b40ae9cf 100644
|
| --- a/chrome/browser/extensions/api/notifications/notifications_api.cc
|
| +++ b/chrome/browser/extensions/api/notifications/notifications_api.cc
|
| @@ -358,18 +358,12 @@ bool NotificationsApiFunction::CreateNotification(
|
| NotificationsApiDelegate* api_delegate(new NotificationsApiDelegate(
|
| this, GetProfile(), extension_->id(), id)); // ownership is passed to
|
| // Notification
|
| - Notification notification(type,
|
| - extension_->url(),
|
| - title,
|
| - message,
|
| - icon,
|
| - message_center::NotifierId(
|
| - message_center::NotifierId::APPLICATION,
|
| - extension_->id()),
|
| - base::UTF8ToUTF16(extension_->name()),
|
| - api_delegate->id(),
|
| - optional_fields,
|
| - api_delegate);
|
| + Notification notification(
|
| + type, title, message, icon,
|
| + message_center::NotifierId(message_center::NotifierId::APPLICATION,
|
| + extension_->id()),
|
| + base::UTF8ToUTF16(extension_->name()), extension_->url(),
|
| + api_delegate->id(), optional_fields, api_delegate);
|
|
|
| g_browser_process->notification_ui_manager()->Add(notification, GetProfile());
|
| return true;
|
|
|