Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: ash/display/resolution_notification_controller.cc

Issue 1551133002: Convert Pass()→std::move() in //ash (CrOS edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/display_error_observer_chromeos.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « ash/display/display_error_observer_chromeos.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698