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(), |
"", |