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

Unified Diff: ash/wm/maximize_mode/maximize_mode_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/wm/lock_window_state.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/maximize_mode_controller.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_controller.cc b/ash/wm/maximize_mode/maximize_mode_controller.cc
index c7328631c62b228c6019019acf5a01b64028eb42..146a3786b0d44d93a945d6a9ba14332a9adb0a20 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller.cc
@@ -4,6 +4,8 @@
#include "ash/wm/maximize_mode/maximize_mode_controller.h"
+#include <utility>
+
#include "ash/accelerators/accelerator_controller.h"
#include "ash/accelerators/accelerator_table.h"
#include "ash/ash_switches.h"
@@ -406,7 +408,7 @@ bool MaximizeModeController::WasLidOpenedRecently() const {
void MaximizeModeController::SetTickClockForTest(
scoped_ptr<base::TickClock> tick_clock) {
DCHECK(tick_clock_);
- tick_clock_ = tick_clock.Pass();
+ tick_clock_ = std::move(tick_clock);
}
} // namespace ash
« no previous file with comments | « ash/wm/lock_window_state.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698