Index: content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java b/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java |
index 9b34ac91c4e39ef9cb1bfd349358421fb3da7bdd..fd5833f51d75472e3b1ac15d1520e84e32790c69 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java |
@@ -574,7 +574,7 @@ public class ImeAdapter { |
timestampMs, COMPOSITION_KEY_CODE, 0, false, unicodeFromKeyEvent); |
if (isCommit) { |
- nativeCommitText(mNativeImeAdapterAndroid, text.toString(), newCursorPosition); |
+ nativeCommitText(mNativeImeAdapterAndroid, text, text.toString(), newCursorPosition); |
} else { |
nativeSetComposingText( |
mNativeImeAdapterAndroid, text, text.toString(), newCursorPosition); |
@@ -777,7 +777,7 @@ public class ImeAdapter { |
private native void nativeSetComposingText(long nativeImeAdapterAndroid, CharSequence text, |
String textStr, int newCursorPosition); |
private native void nativeCommitText( |
- long nativeImeAdapterAndroid, String textStr, int newCursorPosition); |
+ long nativeImeAdapterAndroid, CharSequence text, String textStr, int newCursorPosition); |
private native void nativeFinishComposingText(long nativeImeAdapterAndroid); |
private native void nativeAttachImeAdapter(long nativeImeAdapterAndroid); |
private native void nativeSetEditableSelectionOffsets(long nativeImeAdapterAndroid, |