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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (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
Index: ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc
index 187aa6e612f48e94bb225b000fd920965388d4d5..2f9dc0d4be4d45a3fefa7dc7c7ddba2df58aadd7 100644
--- a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc
@@ -4,6 +4,8 @@
#include "ui/views/widget/desktop_aura/desktop_native_cursor_manager.h"
+#include <utility>
+
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/cursor/cursor_loader.h"
@@ -13,7 +15,7 @@ namespace views {
DesktopNativeCursorManager::DesktopNativeCursorManager(
scoped_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater)
- : cursor_loader_updater_(cursor_loader_updater.Pass()),
+ : cursor_loader_updater_(std::move(cursor_loader_updater)),
cursor_loader_(ui::CursorLoader::Create()) {
if (cursor_loader_updater_.get())
cursor_loader_updater_->OnCreate(1.0f, cursor_loader_.get());

Powered by Google App Engine
This is Rietveld 408576698