Index: ash/wm/workspace_controller.cc |
diff --git a/ash/wm/workspace_controller.cc b/ash/wm/workspace_controller.cc |
index d186b0d78a869ec5efb567dda1a34e02e71c8827..bea54a92fc346d5a5d8bc9612dad011b8f0bf7cc 100644 |
--- a/ash/wm/workspace_controller.cc |
+++ b/ash/wm/workspace_controller.cc |
@@ -4,6 +4,8 @@ |
#include "ash/wm/workspace_controller.h" |
+#include <utility> |
+ |
#include "ash/root_window_controller.h" |
#include "ash/shelf/shelf_layout_manager.h" |
#include "ash/shell.h" |
@@ -133,7 +135,7 @@ void WorkspaceController::DoInitialAnimation() { |
void WorkspaceController::SetMaximizeBackdropDelegate( |
scoped_ptr<WorkspaceLayoutManagerDelegate> delegate) { |
- layout_manager_->SetMaximizeBackdropDelegate(delegate.Pass()); |
+ layout_manager_->SetMaximizeBackdropDelegate(std::move(delegate)); |
} |
} // namespace ash |