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

Unified Diff: ash/host/ash_window_tree_host_unified.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/frame/custom_frame_view_ash_unittest.cc ('k') | ash/host/ash_window_tree_host_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index f94d1e277ed1a92baeb3add43a9dea36ad36214c..ab9a954e8931e6cc9b055835916935e62039cd46 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -3,6 +3,9 @@
// found in the LICENSE file.
#include "ash/host/ash_window_tree_host_unified.h"
+
+#include <utility>
+
#include "ash/host/root_window_transformer.h"
#include "ash/ime/input_method_event_handler.h"
#include "base/logging.h"
@@ -91,7 +94,7 @@ void AshWindowTreeHostUnified::UnConfineCursor() {
void AshWindowTreeHostUnified::SetRootWindowTransformer(
scoped_ptr<RootWindowTransformer> transformer) {
- transformer_helper_.SetRootWindowTransformer(transformer.Pass());
+ transformer_helper_.SetRootWindowTransformer(std::move(transformer));
}
gfx::Insets AshWindowTreeHostUnified::GetHostInsets() const {
« no previous file with comments | « ash/frame/custom_frame_view_ash_unittest.cc ('k') | ash/host/ash_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698