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

Unified Diff: ash/wm/lock_state_controller.cc

Issue 1547223002: Convert Pass()→std::move() in //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/touch/touch_hud_debug.cc ('k') | ash/wm/lock_state_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_state_controller.cc
diff --git a/ash/wm/lock_state_controller.cc b/ash/wm/lock_state_controller.cc
index aa075c5be5190047ab27a61840736d0e6cdd3d56..a0f0d847bd5027aee89898ef3b2c0354d09c1d2f 100644
--- a/ash/wm/lock_state_controller.cc
+++ b/ash/wm/lock_state_controller.cc
@@ -6,6 +6,7 @@
#include <algorithm>
#include <string>
+#include <utility>
#include "ash/accessibility_delegate.h"
#include "ash/ash_switches.h"
@@ -98,7 +99,7 @@ LockStateController::~LockStateController() {
void LockStateController::SetDelegate(
scoped_ptr<LockStateControllerDelegate> delegate) {
- delegate_ = delegate.Pass();
+ delegate_ = std::move(delegate);
}
void LockStateController::AddObserver(LockStateObserver* observer) {
« no previous file with comments | « ash/touch/touch_hud_debug.cc ('k') | ash/wm/lock_state_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698