| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| index 64b1d582eca608e3d74a9dcea2fbc615e6fcaa91..b1cc69a0e0cd561648b2a3ba21ae9238d18ceb5a 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| @@ -2314,8 +2314,6 @@ public class ContentViewCore
|
| TraceEvent.begin();
|
| mSelectionEditable = (textInputType != ImeAdapter.getTextInputTypeNone());
|
|
|
| - if (mActionMode != null) mActionMode.invalidate();
|
| -
|
| mImeAdapter.updateKeyboardVisibility(
|
| nativeImeAdapterAndroid, textInputType, showImeIfNeeded);
|
|
|
| @@ -2323,6 +2321,8 @@ public class ContentViewCore
|
| mInputConnection.updateState(text, selectionStart, selectionEnd, compositionStart,
|
| compositionEnd, isNonImeChange);
|
| }
|
| +
|
| + if (mActionMode != null) mActionMode.invalidate();
|
| TraceEvent.end();
|
| }
|
|
|
|
|