| Index: ui/app_list/page_switcher.cc
|
| diff --git a/ui/app_list/page_switcher.cc b/ui/app_list/page_switcher.cc
|
| index ba98671db832cff310d6e0c8c21812eb0d2c13a7..7c936992ee09897c3372e0bef8c88bea7bf02d16 100644
|
| --- a/ui/app_list/page_switcher.cc
|
| +++ b/ui/app_list/page_switcher.cc
|
| @@ -189,8 +189,7 @@ void PageSwitcher::Layout() {
|
| rect.y(),
|
| buttons_size.width(),
|
| rect.height());
|
| - rect.Intersect(buttons_bounds);
|
| - buttons_->SetBoundsRect(rect);
|
| + buttons_->SetBoundsRect(gfx::Intersection(rect, buttons_bounds));
|
| }
|
|
|
| void PageSwitcher::CalculateButtonWidthAndSpacing(int contents_width) {
|
|
|