Index: ash/shell/app_list.cc |
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc |
index b4581d83f9f76378132d4b07ae865298eca4da6b..a85e4d1f870f6411ccc789f72aee4e1719d6c067 100644 |
--- a/ash/shell/app_list.cc |
+++ b/ash/shell/app_list.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include <string> |
+#include <utility> |
#include <vector> |
#include "ash/session/session_state_delegate.h" |
@@ -218,7 +219,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate { |
std::string id = base::IntToString(i); |
scoped_ptr<WindowTypeShelfItem> shelf_item( |
new WindowTypeShelfItem(id, type)); |
- model_->AddItem(shelf_item.Pass()); |
+ model_->AddItem(std::move(shelf_item)); |
} |
} |