Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 2460173003: Revert "Allow selection change update before beginBatchEdit" on M54 (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/android/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 3f4de570b6895364fb2c1a4c237b25307584405f..7643bed0b29598d2f9677ed0bf35d4a53c0ca4f6 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1301,8 +1301,7 @@ void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter,
int composition_start,
int composition_end,
bool show_ime_if_needed,
- bool is_non_ime_change,
- bool in_batch_edit_mode) {
+ bool is_non_ime_change) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
if (obj.is_null())
@@ -1312,8 +1311,7 @@ void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter,
Java_ContentViewCore_updateImeAdapter(
env, obj, native_ime_adapter, text_input_type, text_input_flags,
jstring_text, selection_start, selection_end, composition_start,
- composition_end, show_ime_if_needed, is_non_ime_change,
- in_batch_edit_mode);
+ composition_end, show_ime_if_needed, is_non_ime_change);
}
void ContentViewCoreImpl::SetAccessibilityEnabled(
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/renderer_host/ime_adapter_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698