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

Unified Diff: chrome/browser/ui/app_list/search/app_result.cc

Issue 2339523004: Remove old (dead) app list code. (Closed)
Patch Set: Address nonbistytftatl review. Created 4 years, 3 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/search/app_result.cc
diff --git a/chrome/browser/ui/app_list/search/app_result.cc b/chrome/browser/ui/app_list/search/app_result.cc
index f6ec7289f23c8317b47c1219eee511dc5a530342..ae41736725143d72ba2c443710ba5c5b483a094d 100644
--- a/chrome/browser/ui/app_list/search/app_result.cc
+++ b/chrome/browser/ui/app_list/search/app_result.cc
@@ -16,8 +16,7 @@ AppResult::AppResult(Profile* profile,
: profile_(profile),
app_id_(app_id),
controller_(controller) {
- if (app_list::switches::IsExperimentalAppListEnabled())
- set_display_type(is_recommendation ? DISPLAY_RECOMMENDATION : DISPLAY_TILE);
+ set_display_type(is_recommendation ? DISPLAY_RECOMMENDATION : DISPLAY_TILE);
}
AppResult::~AppResult() {

Powered by Google App Engine
This is Rietveld 408576698