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 d85273be9f59e92ddf388eeab157d6da9d7be89a..73735e0cdd4183676469dc4f4eb327f4af1d42d0 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 |
@@ -406,6 +406,7 @@ public class ImeAdapter { |
* @return Whether the native counterpart of ImeAdapter received the call. |
*/ |
boolean deleteSurroundingText(int beforeLength, int afterLength) { |
+ mViewEmbedder.onImeEvent(false); |
if (mNativeImeAdapterAndroid == 0) return false; |
// Can't send the deletion key code yet because it will delete an extra char at the end. |
// Also the deleteSurroundingText message is not always ordered properly with key event |