| Index: ui/app_list/views/search_result_view.cc
|
| diff --git a/ui/app_list/views/search_result_view.cc b/ui/app_list/views/search_result_view.cc
|
| index 324cd5706ad7b281ce7e8d7cbb24a6994a3b0b9a..09c576816ffb7371f3f5a3712c1fd08b5aa3614f 100644
|
| --- a/ui/app_list/views/search_result_view.cc
|
| +++ b/ui/app_list/views/search_result_view.cc
|
| @@ -246,15 +246,10 @@ void SearchResultView::OnPaint(gfx::Canvas* canvas) {
|
| return;
|
|
|
| gfx::Rect content_rect(rect);
|
| - if (!switches::IsExperimentalAppListEnabled())
|
| - content_rect.set_height(rect.height() - kBorderSize);
|
| -
|
| const bool selected = list_view_->IsResultViewSelected(this);
|
| const bool hover = state() == STATE_HOVERED || state() == STATE_PRESSED;
|
|
|
| - canvas->FillRect(content_rect, switches::IsExperimentalAppListEnabled()
|
| - ? kCardBackgroundColor
|
| - : kContentsBackgroundColor);
|
| + canvas->FillRect(content_rect, kCardBackgroundColor);
|
|
|
| // Possibly call FillRect a second time (these colours are partially
|
| // transparent, so the previous FillRect is not redundant).
|
| @@ -263,7 +258,7 @@ void SearchResultView::OnPaint(gfx::Canvas* canvas) {
|
| else if (hover)
|
| canvas->FillRect(content_rect, kHighlightedColor);
|
|
|
| - if (switches::IsExperimentalAppListEnabled() && !is_last_result_) {
|
| + if (!is_last_result_) {
|
| gfx::Rect line_rect = content_rect;
|
| line_rect.set_height(kBorderSize);
|
| line_rect.set_y(content_rect.bottom() - kBorderSize);
|
|
|