| Index: ui/app_list/views/app_list_background.cc
|
| diff --git a/ui/app_list/views/app_list_background.cc b/ui/app_list/views/app_list_background.cc
|
| index 509d01a5accaf132d140a7c23b3445a3e1f73359..008897ab51906e63bacb007593d172823a6bfe17 100644
|
| --- a/ui/app_list/views/app_list_background.cc
|
| +++ b/ui/app_list/views/app_list_background.cc
|
| @@ -58,17 +58,17 @@ void AppListBackground::Paint(gfx::Canvas* canvas,
|
| !app_list::switches::IsExperimentalAppListEnabled()) {
|
| const gfx::Rect search_box_view_bounds =
|
| search_box_view->ConvertRectToWidget(search_box_view->GetLocalBounds());
|
| - gfx::Rect search_box_rect(bounds.x(),
|
| - bounds.y(),
|
| - bounds.width(),
|
| - search_box_view_bounds.bottom() - bounds.y());
|
| + gfx::Rect search_box_rect(
|
| + bounds.x(),
|
| + bounds.y(),
|
| + bounds.width(),
|
| + search_box_view_bounds.bottom() - bounds.y() + kTopSeparatorSize);
|
|
|
| paint.setColor(kSearchBoxBackground);
|
| canvas->DrawRect(search_box_rect, paint);
|
|
|
| gfx::Rect separator_rect(search_box_rect);
|
| - separator_rect.set_y(separator_rect.bottom());
|
| - separator_rect.set_height(kTopSeparatorSize);
|
| + separator_rect.Inset(0, search_box_rect.height() - kTopSeparatorSize, 0, 0);
|
| canvas->FillRect(separator_rect, kTopSeparatorColor);
|
| contents_top = separator_rect.bottom();
|
| }
|
|
|