Index: ui/aura/remote_root_window_host_win.cc |
diff --git a/ui/aura/remote_root_window_host_win.cc b/ui/aura/remote_root_window_host_win.cc |
index 760d95525bff8834f7e474b75fbcc0b03e087d52..db66beb41d475d46bafad6198b5bce2500f78710 100644 |
--- a/ui/aura/remote_root_window_host_win.cc |
+++ b/ui/aura/remote_root_window_host_win.cc |
@@ -487,7 +487,7 @@ void RemoteRootWindowHostWin::OnMouseMoved(int32 x, int32 y, int32 flags) { |
return; |
gfx::Point location(x, y); |
- ui::MouseEvent event(ui::ET_MOUSE_MOVED, location, location, flags); |
+ ui::MouseEvent event(ui::ET_MOUSE_MOVED, location, location, flags, 0); |
delegate_->OnHostMouseEvent(&event); |
} |
@@ -498,7 +498,8 @@ void RemoteRootWindowHostWin::OnMouseButton( |
ui::EventType type, |
ui::EventFlags flags) { |
gfx::Point location(x, y); |
- ui::MouseEvent mouse_event(type, location, location, flags); |
+ // TODO: this needs to pass in changed flags. |
+ ui::MouseEvent mouse_event(type, location, location, flags, 0); |
SetEventFlags(flags | key_event_flags()); |
if (type == ui::ET_MOUSEWHEEL) { |