| 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..f6a18120804988787ee147b4ab61bc056eb4bcbb 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
|
| @@ -304,10 +304,10 @@ public class ImeAdapter {
|
| * composition.
|
| * @param compositionEnd The character offset of the composition end, or -1 if there is no
|
| * selection.
|
| - * @param isNonImeChange True when the update was caused by non-IME (e.g. Javascript).
|
| + * @param replyToRequest True when the update was requested by IME.
|
| */
|
| public void updateState(String text, int selectionStart, int selectionEnd, int compositionStart,
|
| - int compositionEnd, boolean isNonImeChange) {
|
| + int compositionEnd, boolean replyToRequest) {
|
| if (mCursorAnchorInfoController != null && (!TextUtils.equals(mLastText, text)
|
| || mLastSelectionStart != selectionStart || mLastSelectionEnd != selectionEnd
|
| || mLastCompositionStart != compositionStart
|
| @@ -324,7 +324,7 @@ public class ImeAdapter {
|
| boolean singleLine = mTextInputType != TextInputType.TEXT_AREA
|
| && mTextInputType != TextInputType.CONTENT_EDITABLE;
|
| mInputConnection.updateStateOnUiThread(text, selectionStart, selectionEnd, compositionStart,
|
| - compositionEnd, singleLine, isNonImeChange);
|
| + compositionEnd, singleLine, replyToRequest);
|
| }
|
|
|
| /**
|
|
|