| Index: ash/wm/overview/window_selector_unittest.cc
|
| diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc
|
| index e9374261211959a28fde4f5fcb240cb6731cf052..42bb47f3142971d6f6b6894d7929f70256dba286 100644
|
| --- a/ash/wm/overview/window_selector_unittest.cc
|
| +++ b/ash/wm/overview/window_selector_unittest.cc
|
| @@ -717,7 +717,8 @@ TEST_F(WindowSelectorTest, WindowDoesNotReceiveEvents) {
|
| aura::Window* root_window = Shell::GetPrimaryRootWindow();
|
| scoped_ptr<aura::Window> window(CreateWindow(window_bounds));
|
|
|
| - gfx::Point point1(window_bounds.x() + 10, window_bounds.y() + 10);
|
| + auto point1 =
|
| + gfx::PointF(window_bounds.origin()) + gfx::Vector2dF(10.f, 10.f);
|
|
|
| ui::MouseEvent event1(ui::ET_MOUSE_PRESSED, point1, point1,
|
| ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| @@ -734,7 +735,7 @@ TEST_F(WindowSelectorTest, WindowDoesNotReceiveEvents) {
|
|
|
| // The bounds have changed, take that into account.
|
| gfx::RectF bounds = GetTransformedBoundsInRootWindow(window.get());
|
| - gfx::Point point2(bounds.x() + 10, bounds.y() + 10);
|
| + gfx::PointF point2(bounds.x() + 10.f, bounds.y() + 10.f);
|
| ui::MouseEvent event2(ui::ET_MOUSE_PRESSED, point2, point2,
|
| ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
|
|
|
|