Index: content/browser/renderer_host/ime_adapter_android.cc |
diff --git a/content/browser/renderer_host/ime_adapter_android.cc b/content/browser/renderer_host/ime_adapter_android.cc |
index d70d4969d2ed28d4e424fb372cd512d94019e2a7..2468b62db62bd6a7dd7c50267be43029d63242a4 100644 |
--- a/content/browser/renderer_host/ime_adapter_android.cc |
+++ b/content/browser/renderer_host/ime_adapter_android.cc |
@@ -203,7 +203,8 @@ void ImeAdapterAndroid::SetComposingText(JNIEnv* env, |
if (new_cursor_pos > 0) |
new_cursor_pos = text16.length() + new_cursor_pos - 1; |
- rwhi->ImeSetComposition(text16, underlines, new_cursor_pos, new_cursor_pos); |
+ rwhi->ImeSetComposition(text16, underlines, gfx::Range::InvalidRange(), |
+ new_cursor_pos, new_cursor_pos); |
} |
void ImeAdapterAndroid::CommitText(JNIEnv* env, |