Index: ash/display/resolution_notification_controller.cc |
diff --git a/ash/display/resolution_notification_controller.cc b/ash/display/resolution_notification_controller.cc |
index bd31c958ec15f8e80657638a3b64530e9df0af25..609b4ea0f7b27b4a6716ffba427cadc80d886fa0 100644 |
--- a/ash/display/resolution_notification_controller.cc |
+++ b/ash/display/resolution_notification_controller.cc |
@@ -4,6 +4,8 @@ |
#include "ash/display/resolution_notification_controller.h" |
+#include <utility> |
+ |
#include "ash/display/display_info.h" |
#include "ash/display/display_manager.h" |
#include "ash/shell.h" |
@@ -235,7 +237,7 @@ void ResolutionNotificationController::CreateOrUpdateNotification( |
data, new ResolutionChangeNotificationDelegate( |
this, change_info_->timeout_count > 0))); |
notification->SetSystemPriority(); |
- message_center->AddNotification(notification.Pass()); |
+ message_center->AddNotification(std::move(notification)); |
} |
void ResolutionNotificationController::OnTimerTick() { |