| Index: ui/app_list/views/test/apps_grid_view_test_api.cc
|
| diff --git a/ui/app_list/views/test/apps_grid_view_test_api.cc b/ui/app_list/views/test/apps_grid_view_test_api.cc
|
| index 225103644288907b28a31f2805b40b02deff480d..1142f113d645363c43a040bc9c9ae2b40e1966da 100644
|
| --- a/ui/app_list/views/test/apps_grid_view_test_api.cc
|
| +++ b/ui/app_list/views/test/apps_grid_view_test_api.cc
|
| @@ -23,6 +23,14 @@ views::View* AppsGridViewTestApi::GetViewAtModelIndex(int index) const {
|
| }
|
|
|
| void AppsGridViewTestApi::LayoutToIdealBounds() {
|
| + if (view_->reorder_timer_.IsRunning()) {
|
| + view_->reorder_timer_.Stop();
|
| + view_->OnReorderTimer();
|
| + }
|
| + if (view_->folder_dropping_timer_.IsRunning()) {
|
| + view_->folder_dropping_timer_.Stop();
|
| + view_->OnFolderDroppingTimer();
|
| + }
|
| view_->bounds_animator_.Cancel();
|
| view_->Layout();
|
| }
|
|
|