| 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 bc92bd0cb0716549647c03cc525fbf757c653e38..d2a20ba3174b3b8ebb3cbaf05ac19b36d63c33dc 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
|
| @@ -180,6 +180,7 @@ public class ImeAdapter {
|
| */
|
| void setInputConnection(AdapterInputConnection inputConnection) {
|
| mInputConnection = inputConnection;
|
| + mLastComposeText = null;
|
| }
|
|
|
| /**
|
| @@ -259,6 +260,7 @@ public class ImeAdapter {
|
| }
|
| mNativeImeAdapterAndroid = nativeImeAdapter;
|
| mTextInputType = textInputType;
|
| + mLastComposeText = null;
|
| if (nativeImeAdapter != 0) {
|
| nativeAttachImeAdapter(mNativeImeAdapterAndroid);
|
| }
|
| @@ -435,6 +437,7 @@ public class ImeAdapter {
|
| }
|
|
|
| void finishComposingText() {
|
| + mLastComposeText = null;
|
| if (mNativeImeAdapterAndroid == 0) return;
|
| nativeFinishComposingText(mNativeImeAdapterAndroid);
|
| }
|
|
|