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

Unified Diff: ui/aura/mus/input_method_mus.cc

Issue 2626383002: IME for Mus: EnumTraits for TextInputMode and TextInputType. (Closed)
Patch Set: Created 3 years, 11 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 | « services/ui/public/interfaces/ime/ime_struct_traits_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/input_method_mus.cc
diff --git a/ui/aura/mus/input_method_mus.cc b/ui/aura/mus/input_method_mus.cc
index da9b27b0f600894099d11196e5803e36bc5019d4..fdce89854b392e868af4091a7d5b98b6ac86f9d5 100644
--- a/ui/aura/mus/input_method_mus.cc
+++ b/ui/aura/mus/input_method_mus.cc
@@ -93,8 +93,7 @@ void InputMethodMus::OnTextInputTypeChanged(const ui::TextInputClient* client) {
InputMethodBase::OnTextInputTypeChanged(client);
if (input_method_) {
- input_method_->OnTextInputTypeChanged(
- static_cast<ui::mojom::TextInputType>(client->GetTextInputType()));
+ input_method_->OnTextInputTypeChanged(client->GetTextInputType());
}
}
« no previous file with comments | « services/ui/public/interfaces/ime/ime_struct_traits_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698