Index: ash/system/chromeos/power/tray_power.cc |
diff --git a/ash/system/chromeos/power/tray_power.cc b/ash/system/chromeos/power/tray_power.cc |
index cb6d7564da602cf466912010a5f882df77ca31b3..aae1f2055f5fd0e89c2668fea87a2c8d280ac695 100644 |
--- a/ash/system/chromeos/power/tray_power.cc |
+++ b/ash/system/chromeos/power/tray_power.cc |
@@ -190,18 +190,15 @@ bool TrayPower::MaybeShowUsbChargerNotification() { |
// Check for a USB charger being connected. |
if (usb_charger_is_connected && !usb_charger_was_connected_) { |
scoped_ptr<Notification> notification(new Notification( |
- message_center::NOTIFICATION_TYPE_SIMPLE, |
- kNotificationId, |
+ message_center::NOTIFICATION_TYPE_SIMPLE, kNotificationId, |
rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_LOW_POWER_CHARGER_TITLE), |
ash::SubstituteChromeOSDeviceType( |
IDS_ASH_STATUS_TRAY_LOW_POWER_CHARGER_MESSAGE_SHORT), |
rb.GetImageNamed(IDR_AURA_NOTIFICATION_LOW_POWER_CHARGER), |
- base::string16(), |
- message_center::NotifierId( |
- message_center::NotifierId::SYSTEM_COMPONENT, |
- system_notifier::kNotifierPower), |
- message_center::RichNotificationData(), |
- NULL)); |
+ base::string16(), GURL(), |
+ message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT, |
+ system_notifier::kNotifierPower), |
+ message_center::RichNotificationData(), NULL)); |
message_center_->AddNotification(notification.Pass()); |
return true; |
} |