| Index: components/arc/ime/arc_ime_service.cc
|
| diff --git a/components/arc/ime/arc_ime_service.cc b/components/arc/ime/arc_ime_service.cc
|
| index eeeeb5eeb1024fdf520403eab548e0e10cdb3597..a55df941ce0fe3239a0242b31c21eaacb1f57c8b 100644
|
| --- a/components/arc/ime/arc_ime_service.cc
|
| +++ b/components/arc/ime/arc_ime_service.cc
|
| @@ -140,15 +140,8 @@ void ArcImeService::OnTextInputTypeChanged(ui::TextInputType type) {
|
| ime_type_ = type;
|
|
|
| ui::InputMethod* const input_method = GetInputMethod();
|
| - if (input_method) {
|
| + if (input_method)
|
| input_method->OnTextInputTypeChanged(this);
|
| - // TODO(crbug.com/581282): Remove this piggyback call when
|
| - // ImeInstance::ShowImeIfNeeded is wired to ARC.
|
| - if (input_method->GetTextInputClient() == this &&
|
| - ime_type_ != ui::TEXT_INPUT_TYPE_NONE) {
|
| - input_method->ShowImeIfNeeded();
|
| - }
|
| - }
|
| }
|
|
|
| void ArcImeService::OnCursorRectChanged(const gfx::Rect& rect) {
|
|
|