| Index: ui/aura/window_event_dispatcher.cc
|
| diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
|
| index 5d0e73d7a1293e72739c4875bf06db699646768a..43cd84a54edeb744d61e186e1718f83e4169816b 100644
|
| --- a/ui/aura/window_event_dispatcher.cc
|
| +++ b/ui/aura/window_event_dispatcher.cc
|
| @@ -153,8 +153,9 @@ void WindowEventDispatcher::DispatchGestureEvent(ui::GestureEvent* event) {
|
| DispatchDetails WindowEventDispatcher::DispatchMouseExitAtPoint(
|
| Window* window,
|
| const gfx::Point& point) {
|
| - ui::MouseEvent event(ui::ET_MOUSE_EXITED, point, point, ui::EventTimeForNow(),
|
| - ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent event(ui::ET_MOUSE_EXITED, gfx::PointF(point),
|
| + gfx::PointF(point), ui::EventTimeForNow(), ui::EF_NONE,
|
| + ui::EF_NONE);
|
| return DispatchMouseEnterOrExit(window, event, ui::ET_MOUSE_EXITED);
|
| }
|
|
|
| @@ -368,8 +369,8 @@ void WindowEventDispatcher::UpdateCapture(Window* old_capture,
|
| if (old_capture && old_capture->GetRootWindow() == window() &&
|
| old_capture->delegate()) {
|
| // Send a capture changed event with bogus location data.
|
| - ui::MouseEvent event(ui::ET_MOUSE_CAPTURE_CHANGED, gfx::Point(),
|
| - gfx::Point(), ui::EventTimeForNow(), 0, 0);
|
| + ui::MouseEvent event(ui::ET_MOUSE_CAPTURE_CHANGED, gfx::PointF(),
|
| + gfx::PointF(), ui::EventTimeForNow(), 0, 0);
|
|
|
| DispatchDetails details = DispatchEvent(old_capture, &event);
|
| if (details.dispatcher_destroyed)
|
| @@ -723,8 +724,8 @@ ui::EventDispatchDetails WindowEventDispatcher::SynthesizeMouseMoveEvent() {
|
| return details;
|
| gfx::Point host_mouse_location = root_mouse_location;
|
| host_->ConvertPointToHost(&host_mouse_location);
|
| - ui::MouseEvent event(ui::ET_MOUSE_MOVED, host_mouse_location,
|
| - host_mouse_location, ui::EventTimeForNow(),
|
| + ui::MouseEvent event(ui::ET_MOUSE_MOVED, gfx::PointF(host_mouse_location),
|
| + gfx::PointF(host_mouse_location), ui::EventTimeForNow(),
|
| ui::EF_IS_SYNTHESIZED, 0);
|
| return OnEventFromSource(&event);
|
| }
|
|
|