| Index: ui/app_list/page_switcher.cc
|
| diff --git a/ui/app_list/page_switcher.cc b/ui/app_list/page_switcher.cc
|
| index fce98bf402bc804a93aaa6d6540e850b92c14d65..c0b4d6ffb129ad2fe8cd4f44cceff0d54731ca0a 100644
|
| --- a/ui/app_list/page_switcher.cc
|
| +++ b/ui/app_list/page_switcher.cc
|
| @@ -123,8 +123,7 @@ namespace app_list {
|
|
|
| PageSwitcher::PageSwitcher(PaginationModel* model)
|
| : model_(model),
|
| - buttons_(NULL) {
|
| - buttons_ = new views::View;
|
| + buttons_(new views::View) {
|
| buttons_->SetLayoutManager(new views::BoxLayout(
|
| views::BoxLayout::kHorizontal, 0, 0, kButtonSpacing));
|
| AddChildView(buttons_);
|
|
|