Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2250)

Unified Diff: chrome/browser/ui/app_list/apps_model_builder_unittest.cc

Issue 16998003: Update CrOS to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698