| Index: ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.cc b/ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| index 8a0f138c2b16d1fb6a21807fc7c4d9f8bb680419..9507299187702fcf20a69cf75c57ca662e56f34d 100644
|
| --- a/ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| +++ b/ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| @@ -109,7 +109,7 @@ void Tab::SetSelected(bool selected) {
|
|
|
| bool Tab::OnMousePressed(const ui::MouseEvent& event) {
|
| if (event.IsOnlyLeftMouseButton() &&
|
| - GetLocalBounds().Contains(event.location()))
|
| + GetLocalBounds().Contains(gfx::ToFlooredPoint(event.location())))
|
| tabbed_pane_->SelectTab(this);
|
| return true;
|
| }
|
|
|