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

Unified Diff: ui/base/ime/remote_input_method_win.cc

Issue 660173002: Type conversion fixes, ui/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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
« no previous file with comments | « ui/base/ime/input_method_win.cc ('k') | ui/base/l10n/l10n_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/remote_input_method_win.cc
diff --git a/ui/base/ime/remote_input_method_win.cc b/ui/base/ime/remote_input_method_win.cc
index 0b75c0762c2dcba50a0a54012bf2b7f2977e846d..f74dcde666b9c8c7a6c8cf235e62b8f73c0177ec 100644
--- a/ui/base/ime/remote_input_method_win.cc
+++ b/ui/base/ime/remote_input_method_win.cc
@@ -199,8 +199,9 @@ class RemoteInputMethodWin : public InputMethod,
if (event.is_char()) {
if (text_input_client_) {
- text_input_client_->InsertChar(event.key_code(),
- ui::GetModifiersFromKeyState());
+ text_input_client_->InsertChar(
+ static_cast<base::char16>(event.key_code()),
+ ui::GetModifiersFromKeyState());
}
return true;
}
« no previous file with comments | « ui/base/ime/input_method_win.cc ('k') | ui/base/l10n/l10n_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698