Index: ui/aura/window_tree_host_platform.cc |
diff --git a/ui/aura/window_tree_host_platform.cc b/ui/aura/window_tree_host_platform.cc |
index 2a7d0541a744fa9e5747798d2f57699cc918aac6..a696eea6781b9b3327302065330485f613a734f1 100644 |
--- a/ui/aura/window_tree_host_platform.cc |
+++ b/ui/aura/window_tree_host_platform.cc |
@@ -4,6 +4,8 @@ |
#include "ui/aura/window_tree_host_platform.h" |
+#include <utility> |
+ |
#include "base/trace_event/trace_event.h" |
#include "ui/aura/window_event_dispatcher.h" |
#include "ui/compositor/compositor.h" |
@@ -55,7 +57,7 @@ WindowTreeHostPlatform::WindowTreeHostPlatform() |
void WindowTreeHostPlatform::SetPlatformWindow( |
scoped_ptr<ui::PlatformWindow> window) { |
- window_ = window.Pass(); |
+ window_ = std::move(window); |
} |
WindowTreeHostPlatform::~WindowTreeHostPlatform() { |