Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1595)

Unified Diff: ui/keyboard/keyboard_util.cc

Issue 1257603006: Refactoring for the InputMethod & InputMethodDelegate interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed compiling errors on chromeos. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698