Index: ui/keyboard/keyboard_util.cc |
diff --git a/ui/keyboard/keyboard_util.cc b/ui/keyboard/keyboard_util.cc |
index fa5ae4a7c4503ba57a7ddc89f914af86bb9d8b85..37b8f1f98f43e126f45be25e39f1e237f058cc9a 100644 |
--- a/ui/keyboard/keyboard_util.cc |
+++ b/ui/keyboard/keyboard_util.cc |
@@ -332,7 +332,7 @@ bool SendKeyEvent(const std::string type, |
dom_code, |
modifiers); |
if (input_method) { |
- input_method->DispatchKeyEvent(event); |
+ input_method->DispatchKeyEvent(&event); |
} else { |
ui::EventDispatchDetails details = |
host->event_processor()->OnEventFromSource(&event); |