| Index: ui/app_list/views/apps_grid_view.cc
|
| diff --git a/ui/app_list/views/apps_grid_view.cc b/ui/app_list/views/apps_grid_view.cc
|
| index 00141ffd1f19f6b96dc0ae134ab943db8a26342a..39ec88dcc9160ca16c55f4af00edf13c4fa756e8 100644
|
| --- a/ui/app_list/views/apps_grid_view.cc
|
| +++ b/ui/app_list/views/apps_grid_view.cc
|
| @@ -387,8 +387,7 @@ AppsGridView::~AppsGridView() {
|
| RemoveAllChildViews(true);
|
| }
|
|
|
| -void AppsGridView::SetLayout(int icon_size, int cols, int rows_per_page) {
|
| - icon_size_.SetSize(icon_size, icon_size);
|
| +void AppsGridView::SetLayout(int cols, int rows_per_page) {
|
| cols_ = cols;
|
| rows_per_page_ = rows_per_page;
|
|
|
| @@ -782,7 +781,6 @@ void AppsGridView::InitiateDragFromReparentItemInRootLevelGridView(
|
| // Note: For testing purpose, SetFillsBoundsOpaquely can be set to true to
|
| // show the gray background.
|
| drag_view_->SetFillsBoundsOpaquely(false);
|
| - drag_view_->SetIconSize(icon_size_);
|
| drag_view_->SetBoundsRect(drag_view_rect);
|
| drag_view_->SetDragUIState(); // Hide the title of the drag_view_.
|
|
|
| @@ -1027,7 +1025,6 @@ views::View* AppsGridView::CreateViewForItemAtIndex(size_t index) {
|
| DCHECK_LE(index, item_list_->item_count());
|
| AppListItemView* view = new AppListItemView(this,
|
| item_list_->item_at(index));
|
| - view->SetIconSize(icon_size_);
|
| view->SetPaintToLayer(true);
|
| view->SetFillsBoundsOpaquely(false);
|
| return view;
|
|
|