Index: content/browser/renderer_host/ime_adapter_android.cc |
diff --git a/content/browser/renderer_host/ime_adapter_android.cc b/content/browser/renderer_host/ime_adapter_android.cc |
index c28f43fbb25cc12f7e27f112c49d6d12c08a90da..4a75a701d6d97999d93fd6acc2eb3354a8342c4e 100644 |
--- a/content/browser/renderer_host/ime_adapter_android.cc |
+++ b/content/browser/renderer_host/ime_adapter_android.cc |
@@ -286,6 +286,17 @@ void ImeAdapterAndroid::DeleteSurroundingText(JNIEnv*, |
rfh->DeleteSurroundingText(before, after); |
} |
+void ImeAdapterAndroid::DeleteSurroundingTextInCodePoints( |
+ JNIEnv*, |
+ const JavaParamRef<jobject>&, |
+ int before, |
+ int after) { |
+ RenderFrameHostImpl* rfh = |
+ static_cast<RenderFrameHostImpl*>(GetFocusedFrame()); |
+ if (rfh) |
+ rfh->DeleteSurroundingTextInCodePoints(before, after); |
+} |
+ |
bool ImeAdapterAndroid::RequestTextInputStateUpdate( |
JNIEnv* env, |
const JavaParamRef<jobject>&) { |