| 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 98048d1b26f7ce91f37d69ed4443f1d9172fe5f6..016ab40a6e813cb1e6a24d3e93a7537d524525ec 100644
|
| --- a/content/browser/renderer_host/ime_adapter_android.cc
|
| +++ b/content/browser/renderer_host/ime_adapter_android.cc
|
| @@ -177,13 +177,15 @@ void ImeAdapterAndroid::SetComposingText(JNIEnv* env,
|
|
|
| void ImeAdapterAndroid::CommitText(JNIEnv* env,
|
| const JavaParamRef<jobject>&,
|
| - const JavaParamRef<jstring>& text_str) {
|
| + const JavaParamRef<jstring>& text_str,
|
| + int relative_cursor_pos) {
|
| RenderWidgetHostImpl* rwhi = GetRenderWidgetHostImpl();
|
| if (!rwhi)
|
| return;
|
|
|
| base::string16 text16 = ConvertJavaStringToUTF16(env, text_str);
|
| - rwhi->ImeConfirmComposition(text16, gfx::Range::InvalidRange(), false);
|
| + rwhi->ImeConfirmComposition(text16, gfx::Range::InvalidRange(), false,
|
| + relative_cursor_pos);
|
| }
|
|
|
| void ImeAdapterAndroid::FinishComposingText(JNIEnv* env,
|
|
|