| Index: ui/app_list/search_result_view.cc
|
| diff --git a/ui/app_list/search_result_view.cc b/ui/app_list/search_result_view.cc
|
| index 7e4559dce604dbb033f5ed6c47adafbe597df86d..eb6547d8c612e4e9fd58a38aa3dd9d2d5a971ea0 100644
|
| --- a/ui/app_list/search_result_view.cc
|
| +++ b/ui/app_list/search_result_view.cc
|
| @@ -200,8 +200,7 @@ void SearchResultView::OnPaint(gfx::Canvas* canvas) {
|
| canvas->FillRect(content_rect, kHoverAndPushedColor);
|
| }
|
|
|
| - gfx::Rect border_bottom(rect);
|
| - border_bottom.Subtract(content_rect);
|
| + gfx::Rect border_bottom = gfx::SubtractRects(rect, content_rect);
|
| canvas->FillRect(border_bottom,
|
| selected ? kSelectedBorderColor : kBorderColor);
|
|
|
|
|