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 9ec52588e39886f13eb3b4d1f7ef36a47f1e77e3..8ab31d473e72ce1f4329ee72c83632e814cd766f 100644 |
--- a/ui/app_list/test/app_list_test_model.cc |
+++ b/ui/app_list/test/app_list_test_model.cc |
@@ -146,7 +146,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.PassAs<AppListItem>()); |
+ AppListItem* item = AppListModel::AddItem(test_item.Pass()); |
return static_cast<AppListTestItem*>(item); |
} |
void AppListTestModel::HighlightItemAt(int index) { |