Index: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp |
index 55ef12825dd0ab94044637432708d7dfb80cf6c5..1110e6f8d7f0714b0d52a6bd590d26a07ba1e740 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp |
@@ -235,8 +235,7 @@ void HTMLTextFormControlElement::setRangeText(const String& replacement, unsigne |
else |
text.insert(replacement, start); |
- setInnerEditorValue(text); |
- subtreeHasChanged(); |
+ setValue(text, TextFieldEventBehavior::DispatchNoEvent); |
if (selectionMode == "select") { |
newSelectionStart = start; |