Index: chrome/browser/ui/app_list/apps_model_builder_unittest.cc |
diff --git a/chrome/browser/ui/app_list/apps_model_builder_unittest.cc b/chrome/browser/ui/app_list/apps_model_builder_unittest.cc |
index 89b2800c4891f5a00123712f428e60f84bf662a7..3325db3c2735b3b04f8a463039e861700cad5491 100644 |
--- a/chrome/browser/ui/app_list/apps_model_builder_unittest.cc |
+++ b/chrome/browser/ui/app_list/apps_model_builder_unittest.cc |
@@ -104,7 +104,7 @@ TEST_F(AppsModelBuilderTest, HideWebStore) { |
"0.0", |
"http://google.com", |
std::string(extension_misc::kWebStoreAppId)); |
- service_->AddExtension(store); |
+ service_->AddExtension(store.get()); |
// Install an "enterprise web store" app. |
scoped_refptr<extensions::Extension> enterprise_store = |
@@ -112,7 +112,7 @@ TEST_F(AppsModelBuilderTest, HideWebStore) { |
"0.0", |
"http://google.com", |
std::string(extension_misc::kEnterpriseWebStoreAppId)); |
- service_->AddExtension(enterprise_store); |
+ service_->AddExtension(enterprise_store.get()); |
// Web stores should be present in the AppListModel. |
app_list::AppListModel::Apps model1; |