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

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

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/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 6f92c8764312c8736e88d2a3cfc13c27f43cdf9d..22c8d483f82e55c4fd4669c106f42a40db091b0d 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
@@ -2323,7 +2323,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Screen
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);
@@ -2334,7 +2334,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Screen
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