| Index: chrome/browser/ui/views/panels/panel_frame_view.cc
|
| diff --git a/chrome/browser/ui/views/panels/panel_frame_view.cc b/chrome/browser/ui/views/panels/panel_frame_view.cc
|
| index a22164971ab1d3e065afddff1912ad4a284814a1..f880bb485e495d85aaaa33a5151481f857a98e2d 100644
|
| --- a/chrome/browser/ui/views/panels/panel_frame_view.cc
|
| +++ b/chrome/browser/ui/views/panels/panel_frame_view.cc
|
| @@ -561,7 +561,7 @@ bool PanelFrameView::OnMousePressed(const ui::MouseEvent& event) {
|
| if (event.IsOnlyLeftMouseButton()) {
|
| // |event.location| is in the view's coordinate system. Convert it to the
|
| // screen coordinate system.
|
| - gfx::Point mouse_location = event.location();
|
| + gfx::Point mouse_location = gfx::ToFlooredPoint(event.location());
|
| views::View::ConvertPointToScreen(this, &mouse_location);
|
|
|
| // If the mouse location falls within the resizing area of the titlebar,
|
| @@ -583,7 +583,7 @@ bool PanelFrameView::OnMouseDragged(const ui::MouseEvent& event) {
|
| #else
|
| // |event.location| is in the view's coordinate system. Convert it to the
|
| // screen coordinate system.
|
| - gfx::Point mouse_location = event.location();
|
| + gfx::Point mouse_location = gfx::ToFlooredPoint(event.location());
|
| views::View::ConvertPointToScreen(this, &mouse_location);
|
| #endif
|
|
|
|
|