Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index 493f60ff5da5b665afc83ac1960f1bf181386d40..a819ef00a9f2fc14a1cd0062da192a55ef791988 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -380,7 +380,8 @@ void RootWindow::DispatchMouseExitToHidingWindow(Window* window) { |
} |
void RootWindow::DispatchMouseExitAtPoint(const gfx::Point& point) { |
- ui::MouseEvent event(ui::ET_MOUSE_EXITED, point, point, ui::EF_NONE); |
+ ui::MouseEvent event(ui::ET_MOUSE_EXITED, point, point, ui::EF_NONE, |
+ ui::EF_NONE); |
DispatchDetails details = |
DispatchMouseEnterOrExit(event, ui::ET_MOUSE_EXITED); |
if (details.dispatcher_destroyed) |
@@ -632,7 +633,7 @@ void RootWindow::UpdateCapture(Window* old_capture, |
old_capture->delegate()) { |
// Send a capture changed event with bogus location data. |
ui::MouseEvent event(ui::ET_MOUSE_CAPTURE_CHANGED, gfx::Point(), |
- gfx::Point(), 0); |
+ gfx::Point(), 0, 0); |
DispatchDetails details = DispatchEvent(old_capture, &event); |
if (details.dispatcher_destroyed) |
@@ -1136,7 +1137,8 @@ ui::EventDispatchDetails RootWindow::SynthesizeMouseMoveEvent() { |
ui::MouseEvent event(ui::ET_MOUSE_MOVED, |
host_mouse_location, |
host_mouse_location, |
- ui::EF_IS_SYNTHESIZED); |
+ ui::EF_IS_SYNTHESIZED, |
+ 0); |
return OnHostMouseEventImpl(&event); |
} |