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

Unified Diff: ash/wm/cursor_manager_chromeos.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
Index: ash/wm/cursor_manager_chromeos.cc
diff --git a/ash/wm/cursor_manager_chromeos.cc b/ash/wm/cursor_manager_chromeos.cc
index 3a1162f9d05f600b1696065b342cf9624e503445..9835a083c1b33a29bbc2b22bcbe5ac350786b27c 100644
--- a/ash/wm/cursor_manager_chromeos.cc
+++ b/ash/wm/cursor_manager_chromeos.cc
@@ -4,6 +4,8 @@
#include "ash/wm/cursor_manager_chromeos.h"
+#include <utility>
+
#include "base/logging.h"
#include "ui/events/event.h"
#include "ui/keyboard/keyboard_util.h"
@@ -12,10 +14,8 @@
namespace ash {
-CursorManager::CursorManager(
- scoped_ptr< ::wm::NativeCursorManager> delegate)
- : ::wm::CursorManager(delegate.Pass()) {
-}
+CursorManager::CursorManager(scoped_ptr<::wm::NativeCursorManager> delegate)
+ : ::wm::CursorManager(std::move(delegate)) {}
CursorManager::~CursorManager() {
}
« no previous file with comments | « ash/virtual_keyboard_controller_unittest.cc ('k') | ash/wm/maximize_mode/maximize_mode_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698