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 01557efc6d6ecb6f187b18e15e523b2faff9543c..30ed309eff115713bf9d0ff674b316fb620bd983 100644 |
--- a/ash/system/chromeos/power/tray_power.cc |
+++ b/ash/system/chromeos/power/tray_power.cc |
@@ -221,7 +221,7 @@ bool TrayPower::MaybeShowUsbChargerNotification() { |
// Check for a USB charger being connected. |
if (usb_charger_is_connected && !usb_charger_was_connected_ && |
!usb_notification_dismissed_) { |
- scoped_ptr<Notification> notification(new Notification( |
+ std::unique_ptr<Notification> notification(new Notification( |
message_center::NOTIFICATION_TYPE_SIMPLE, kUsbNotificationId, |
rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_LOW_POWER_CHARGER_TITLE), |
ash::SubstituteChromeOSDeviceType( |