| Index: ui/app_list/app_list_features.cc
|
| diff --git a/ui/app_list/app_list_features.cc b/ui/app_list/app_list_features.cc
|
| index 55973ae281edcb8870f5eb066ce35c6174396ef3..1563921adb4d46756207b94c06b58a9cec100764 100644
|
| --- a/ui/app_list/app_list_features.cc
|
| +++ b/ui/app_list/app_list_features.cc
|
| @@ -43,9 +43,8 @@ bool IsSearchResultsNewDesignEnabled() {
|
| }
|
|
|
| bool IsPlayStoreAppSearchEnabled() {
|
| - static const bool enabled =
|
| - base::FeatureList::IsEnabled(kEnablePlayStoreAppSearch);
|
| - return enabled;
|
| + // Not using local static variable to allow tests to change this value.
|
| + return base::FeatureList::IsEnabled(kEnablePlayStoreAppSearch);
|
| }
|
|
|
| int AnswerCardMaxWidth() {
|
|
|