Index: ui/base/ime/input_method_auralinux.cc |
diff --git a/ui/base/ime/input_method_auralinux.cc b/ui/base/ime/input_method_auralinux.cc |
index b4d436af403352c0723e4823bfdb00e667636af6..bf201d0aa2025560cff272895e7f0c6dd0ed9ae7 100644 |
--- a/ui/base/ime/input_method_auralinux.cc |
+++ b/ui/base/ime/input_method_auralinux.cc |
@@ -243,8 +243,6 @@ void InputMethodAuraLinux::OnPreeditChanged( |
if (suppress_next_result_ || IsTextInputTypeNone()) |
return; |
- composition_ = composition_text; |
- |
if (is_sync_mode_) { |
if (!composition_.text.empty() || !composition_text.text.empty()) |
composition_changed_ = true; |
@@ -252,6 +250,8 @@ void InputMethodAuraLinux::OnPreeditChanged( |
SendFakeProcessKeyEvent(0); |
GetTextInputClient()->SetCompositionText(composition_text); |
} |
+ |
+ composition_ = composition_text; |
} |
void InputMethodAuraLinux::OnPreeditEnd() { |