Index: chrome/browser/ui/app_list/search/app_search_provider.cc |
diff --git a/chrome/browser/ui/app_list/search/app_search_provider.cc b/chrome/browser/ui/app_list/search/app_search_provider.cc |
index 02f2667ca10fe8356b21994f51c3528b21db431a..a7d7fa8bc7d9596aa43b0b73204ca927fe04960e 100644 |
--- a/chrome/browser/ui/app_list/search/app_search_provider.cc |
+++ b/chrome/browser/ui/app_list/search/app_search_provider.cc |
@@ -85,8 +85,8 @@ void AppSearchProvider::UpdateResults() { |
for (Apps::const_iterator app_it = apps_.begin(); |
app_it != apps_.end(); |
++app_it) { |
- scoped_ptr<AppResult> result( |
- new AppResult(profile_, (*app_it)->app_id(), list_controller_)); |
+ scoped_ptr<AppResult> result(new AppResult( |
+ profile_, (*app_it)->app_id(), list_controller_, show_recommendations)); |
if (show_recommendations) { |
result->set_title((*app_it)->indexed_name().text()); |
result->UpdateFromLastLaunched(clock_->Now(), |