Index: ash/system/locale/locale_notification_controller.cc |
diff --git a/ash/system/locale/locale_notification_controller.cc b/ash/system/locale/locale_notification_controller.cc |
index 76df066e25a60d98d76a46d1c53131268e4a8ad0..575002da2b76fb55d37743d7841bf7d23445bc23 100644 |
--- a/ash/system/locale/locale_notification_controller.cc |
+++ b/ash/system/locale/locale_notification_controller.cc |
@@ -4,6 +4,8 @@ |
#include "ash/system/locale/locale_notification_controller.h" |
+#include <utility> |
+ |
#include "ash/shell.h" |
#include "ash/system/system_notifier.h" |
#include "ash/system/tray/system_tray_notifier.h" |
@@ -109,7 +111,8 @@ void LocaleNotificationController::OnLocaleChanged( |
message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT, |
system_notifier::kNotifierLocale), |
optional, new LocaleNotificationDelegate(delegate))); |
- message_center::MessageCenter::Get()->AddNotification(notification.Pass()); |
+ message_center::MessageCenter::Get()->AddNotification( |
+ std::move(notification)); |
} |
} // namespace ash |