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

Unified Diff: ash/wm/maximize_mode/maximize_mode_controller_unittest.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/wm/cursor_manager_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
index fe94cc0d234bfb8f14c75cca12cae0fb5e3f3618..3d384bf949ae1c867ef8f8a9a66e767545d3a026 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "ash/wm/maximize_mode/maximize_mode_controller.h"
+
#include <math.h>
+#include <utility>
#include <vector>
-#include "ash/wm/maximize_mode/maximize_mode_controller.h"
-
#include "ash/ash_switches.h"
#include "ash/display/display_manager.h"
#include "ash/shell.h"
@@ -120,7 +121,7 @@ class MaximizeModeControllerTest : public test::AshTestBase {
scoped_ptr<base::TickClock> tick_clock(
test_tick_clock_ = new base::SimpleTestTickClock());
test_tick_clock_->Advance(base::TimeDelta::FromSeconds(1));
- maximize_mode_controller()->SetTickClockForTest(tick_clock.Pass());
+ maximize_mode_controller()->SetTickClockForTest(std::move(tick_clock));
}
void AdvanceTickClock(const base::TimeDelta& delta) {
« no previous file with comments | « ash/wm/cursor_manager_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698