| Index: ui/app_list/views/contents_animator.cc
|
| diff --git a/ui/app_list/views/contents_animator.cc b/ui/app_list/views/contents_animator.cc
|
| index f4fe398699bdb9aae7373cf8765eee7b479d0e98..97d3c502820be5f605ce80c6040ff2496311c581 100644
|
| --- a/ui/app_list/views/contents_animator.cc
|
| +++ b/ui/app_list/views/contents_animator.cc
|
| @@ -95,9 +95,9 @@ void ContentsAnimator::UpdateSearchBoxForDefaultAnimation(double progress,
|
| gfx::Rect search_box_rect =
|
| gfx::Tween::RectValueBetween(progress, search_box_from, search_box_to);
|
|
|
| - views::View* search_box = contents_view()->GetSearchBoxView();
|
| - search_box->GetWidget()->SetBounds(
|
| - contents_view()->ConvertRectToWidget(search_box_rect));
|
| + SearchBoxView* search_box = contents_view()->GetSearchBoxView();
|
| + search_box->GetWidget()->SetBounds(contents_view()->ConvertRectToWidget(
|
| + search_box->GetViewBoundsForSearchBoxContentsBounds(search_box_rect)));
|
| }
|
|
|
| void ContentsAnimator::ClipSearchResultsPageToOnscreenBounds(
|
|
|