| Index: ui/views/controls/single_split_view.cc
|
| diff --git a/ui/views/controls/single_split_view.cc b/ui/views/controls/single_split_view.cc
|
| index 5909ed1a5e182a5a2752dfc33cf2af6d89464ba9..9c000fe3abbf8da900208b19c714d5d95c5049f4 100644
|
| --- a/ui/views/controls/single_split_view.cc
|
| +++ b/ui/views/controls/single_split_view.cc
|
| @@ -87,7 +87,7 @@ gfx::Size SingleSplitView::GetPreferredSize() {
|
| }
|
|
|
| gfx::NativeCursor SingleSplitView::GetCursor(const ui::MouseEvent& event) {
|
| - if (!IsPointInDivider(event.location()))
|
| + if (!IsPointInDivider(gfx::ToFlooredPoint(event.location())))
|
| return gfx::kNullCursor;
|
| return is_horizontal_ ? GetNativeEastWestResizeCursor()
|
| : GetNativeNorthSouthResizeCursor();
|
| @@ -145,7 +145,7 @@ void SingleSplitView::SetAccessibleName(const base::string16& name) {
|
| }
|
|
|
| bool SingleSplitView::OnMousePressed(const ui::MouseEvent& event) {
|
| - if (!IsPointInDivider(event.location()))
|
| + if (!IsPointInDivider(gfx::ToFlooredPoint(event.location())))
|
| return false;
|
| drag_info_.initial_mouse_offset = GetPrimaryAxisSize(event.x(), event.y());
|
| drag_info_.initial_divider_offset =
|
|
|