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

Unified Diff: ash/wm/lock_state_controller_unittest.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/wm/lock_state_controller.cc ('k') | ash/wm/lock_window_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_state_controller_unittest.cc
diff --git a/ash/wm/lock_state_controller_unittest.cc b/ash/wm/lock_state_controller_unittest.cc
index a9a13875b7be687a8835ea384cc44ddc4d5a8aca..0f784b360856f9e68c2bdd1b5951f4f0825f13ed 100644
--- a/ash/wm/lock_state_controller_unittest.cc
+++ b/ash/wm/lock_state_controller_unittest.cc
@@ -4,6 +4,8 @@
#include "ash/wm/lock_state_controller.h"
+#include <utility>
+
#include "ash/session/session_state_delegate.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
@@ -58,7 +60,8 @@ class LockStateControllerTest : public AshTestBase {
test_animator_ = new TestSessionStateAnimator;
lock_state_controller_ = Shell::GetInstance()->lock_state_controller();
- lock_state_controller_->SetDelegate(lock_state_controller_delegate.Pass());
+ lock_state_controller_->SetDelegate(
+ std::move(lock_state_controller_delegate));
lock_state_controller_->set_animator_for_test(test_animator_);
test_api_.reset(new LockStateController::TestApi(lock_state_controller_));
« no previous file with comments | « ash/wm/lock_state_controller.cc ('k') | ash/wm/lock_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698