| Index: ash/wm/workspace/multi_window_resize_controller.cc
|
| diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
|
| index 347b1175f48bc529f1cfeeadca952be155af033c..59a08311e5033cde9eb8f2d0df20d041e7595100 100644
|
| --- a/ash/wm/workspace/multi_window_resize_controller.cc
|
| +++ b/ash/wm/workspace/multi_window_resize_controller.cc
|
| @@ -78,13 +78,13 @@ class MultiWindowResizeController::ResizeView : public views::View {
|
| canvas->DrawImageInt(*image_, 0, 0);
|
| }
|
| virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE {
|
| - gfx::Point location(event.location());
|
| + gfx::Point location(gfx::ToFlooredPoint(event.location()));
|
| views::View::ConvertPointToScreen(this, &location);
|
| controller_->StartResize(location);
|
| return true;
|
| }
|
| virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE {
|
| - gfx::Point location(event.location());
|
| + gfx::Point location(gfx::ToFlooredPoint(event.location()));
|
| views::View::ConvertPointToScreen(this, &location);
|
| controller_->Resize(location, event.flags());
|
| return true;
|
|
|