Index: ash/host/ash_window_tree_host_ozone.cc |
diff --git a/ash/host/ash_window_tree_host_ozone.cc b/ash/host/ash_window_tree_host_ozone.cc |
index d4b679c396a6ecea2c3663c92160ca828f9f06a7..c6360801833f99147cade5340049fb6348287f66 100644 |
--- a/ash/host/ash_window_tree_host_ozone.cc |
+++ b/ash/host/ash_window_tree_host_ozone.cc |
@@ -4,6 +4,8 @@ |
#include "ash/host/ash_window_tree_host.h" |
+#include <utility> |
+ |
#include "ash/host/ash_window_tree_host_init_params.h" |
#include "ash/host/ash_window_tree_host_unified.h" |
#include "ash/host/root_window_transformer.h" |
@@ -85,7 +87,7 @@ void AshWindowTreeHostOzone::UnConfineCursor() { |
void AshWindowTreeHostOzone::SetRootWindowTransformer( |
scoped_ptr<RootWindowTransformer> transformer) { |
- transformer_helper_.SetRootWindowTransformer(transformer.Pass()); |
+ transformer_helper_.SetRootWindowTransformer(std::move(transformer)); |
ConfineCursorToRootWindow(); |
} |