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 a23b52a57692bf3d2481aa075fe498bc9efdd943..01557efc6d6ecb6f187b18e15e523b2faff9543c 100644 |
--- a/ash/system/chromeos/power/tray_power.cc |
+++ b/ash/system/chromeos/power/tray_power.cc |
@@ -4,6 +4,8 @@ |
#include "ash/system/chromeos/power/tray_power.h" |
+#include <utility> |
+ |
#include "ash/accessibility_delegate.h" |
#include "ash/ash_switches.h" |
#include "ash/shell.h" |
@@ -230,7 +232,7 @@ bool TrayPower::MaybeShowUsbChargerNotification() { |
system_notifier::kNotifierPower), |
message_center::RichNotificationData(), |
new UsbNotificationDelegate(this))); |
- message_center_->AddNotification(notification.Pass()); |
+ message_center_->AddNotification(std::move(notification)); |
return true; |
} else if (!usb_charger_is_connected && usb_charger_was_connected_) { |
// USB charger was unplugged or was identified as a different type while |