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

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

Issue 505913002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add {} Created 6 years, 4 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/extension_app_model_builder.cc
diff --git a/chrome/browser/ui/app_list/extension_app_model_builder.cc b/chrome/browser/ui/app_list/extension_app_model_builder.cc
index ef0de9af8fbfd617fa33bb53f720141b75cd6111..6a391527f6c541444080bc9923a7b50d330057d8 100644
--- a/chrome/browser/ui/app_list/extension_app_model_builder.cc
+++ b/chrome/browser/ui/app_list/extension_app_model_builder.cc
@@ -104,7 +104,7 @@ void ExtensionAppModelBuilder::OnProfilePreferenceChanged() {
for (extensions::ExtensionSet::const_iterator app = extensions.begin();
app != extensions.end(); ++app) {
bool should_display =
- extensions::ui_util::ShouldDisplayInAppLauncher(*app, profile_);
+ extensions::ui_util::ShouldDisplayInAppLauncher(app->get(), profile_);
bool does_display = GetExtensionAppItem((*app)->id()) != NULL;
if (should_display == does_display)
@@ -285,7 +285,7 @@ void ExtensionAppModelBuilder::PopulateApps() {
for (extensions::ExtensionSet::const_iterator app = extensions.begin();
app != extensions.end(); ++app) {
- if (!extensions::ui_util::ShouldDisplayInAppLauncher(*app, profile_))
+ if (!extensions::ui_util::ShouldDisplayInAppLauncher(app->get(), profile_))
continue;
InsertApp(CreateAppItem((*app)->id(),
"",
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/recommended_apps.cc » ('j') | chrome/browser/ui/bookmarks/bookmark_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698