| Index: chrome/browser/ui/input_method/input_method_engine.cc
|
| diff --git a/chrome/browser/ui/input_method/input_method_engine.cc b/chrome/browser/ui/input_method/input_method_engine.cc
|
| index a2395de71d6149818400c830b1fb58c3a99d1049..2b459df37f055763f1b43e47911cabbeb2d259dd 100644
|
| --- a/chrome/browser/ui/input_method/input_method_engine.cc
|
| +++ b/chrome/browser/ui/input_method/input_method_engine.cc
|
| @@ -150,6 +150,8 @@ void InputMethodEngine::UpdateComposition(
|
| if (input_context && !handling_key_event_) {
|
| input_context->UpdateCompositionText(composition_, cursor_pos, is_visible);
|
| composition_.Clear();
|
| + } else {
|
| + composition_changed_ = true;
|
| }
|
| }
|
|
|
| @@ -166,6 +168,8 @@ void InputMethodEngine::CommitTextToInputContext(int context_id,
|
| if (input_context && !handling_key_event_) {
|
| input_context->CommitText(text_);
|
| text_ = "";
|
| + } else {
|
| + commit_text_changed_ = true;
|
| }
|
| }
|
|
|
|
|