Index: ui/app_list/test/app_list_test_model.cc |
diff --git a/ui/app_list/test/app_list_test_model.cc b/ui/app_list/test/app_list_test_model.cc |
index e263b0f99a5013d234920a6d752c3250b77e6a56..a7b5a30c490ccd11b2aa41b9dc67e29a665c84af 100644 |
--- a/ui/app_list/test/app_list_test_model.cc |
+++ b/ui/app_list/test/app_list_test_model.cc |
@@ -4,6 +4,8 @@ |
#include "ui/app_list/test/app_list_test_model.h" |
+#include <utility> |
+ |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/stringprintf.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
@@ -145,7 +147,7 @@ AppListTestModel::AppListTestItem* AppListTestModel::CreateItem( |
AppListTestModel::AppListTestItem* AppListTestModel::CreateAndAddItem( |
const std::string& id) { |
scoped_ptr<AppListTestItem> test_item(CreateItem(id)); |
- AppListItem* item = AppListModel::AddItem(test_item.Pass()); |
+ AppListItem* item = AppListModel::AddItem(std::move(test_item)); |
return static_cast<AppListTestItem*>(item); |
} |
void AppListTestModel::HighlightItemAt(int index) { |