Index: ui/views/widget/root_view.h |
diff --git a/ui/views/widget/root_view.h b/ui/views/widget/root_view.h |
index 1ee1b26099d4c042561d1ab1d5336a2043eb9ce6..e8be22752a453d5c10a6985f158d8b79b9e1f1b8 100644 |
--- a/ui/views/widget/root_view.h |
+++ b/ui/views/widget/root_view.h |
@@ -61,7 +61,7 @@ class VIEWS_EXPORT RootView : public View, public FocusTraversable { |
// Process a key event. Send the event to the focused view and up the focus |
// path, and finally to the default keyboard handler, until someone consumes |
// it. Returns whether anyone consumed the event. |
- ui::EventResult DispatchKeyEvent(const ui::KeyEvent& event); |
+ void DispatchKeyEvent(ui::KeyEvent* event); |
void DispatchScrollEvent(ui::ScrollEvent* event); |
void DispatchTouchEvent(ui::TouchEvent* event); |
virtual void DispatchGestureEvent(ui::GestureEvent* event); |