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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 2465173004: Revert "Allow selection change update before beginBatchEdit" on M55 (Closed)
Patch Set: Created 4 years, 1 month 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/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 65be3a3da26615b2c5e01dfa0affe1476a3f0645..29ce34ecef6d734cc81c90e24616853ed936ce0a 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
@@ -2349,7 +2349,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
private void updateImeAdapter(long nativeImeAdapterAndroid, int textInputType,
int textInputFlags, String text, int selectionStart, int selectionEnd,
int compositionStart, int compositionEnd, boolean showImeIfNeeded,
- boolean isNonImeChange, boolean inBatchEditMode) {
+ boolean isNonImeChange) {
try {
TraceEvent.begin("ContentViewCore.updateImeAdapter");
boolean focusedNodeEditable = (textInputType != TextInputType.NONE);
@@ -2360,7 +2360,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
mImeAdapter.updateKeyboardVisibility(
textInputType, textInputFlags, showImeIfNeeded);
mImeAdapter.updateState(text, selectionStart, selectionEnd, compositionStart,
- compositionEnd, isNonImeChange, inBatchEditMode);
+ compositionEnd, isNonImeChange);
if (mActionMode != null) {
final boolean actionModeConfigurationChanged =

Powered by Google App Engine
This is Rietveld 408576698