Index: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
index 2f87bb4561f055287ec9158ca7d2b2acbe6325ab..c651810e5febaf0d4b3a437c9f5528617e9dcdb6 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
@@ -402,7 +402,7 @@ void HTMLTextAreaElement::setValueCommon(const String& newValue, TextFieldEventB |
if (isFinishedParsingChildren()) { |
// Set the caret to the end of the text value except for initialize. |
unsigned endOfString = m_value.length(); |
- setSelectionRange(endOfString, endOfString, SelectionHasNoDirection, NotDispatchSelectEvent, ChangeSelectionIfFocused); |
+ setSelectionRange(endOfString, endOfString, SelectionHasNoDirection, NotDispatchSelectEvent); |
} |
} |
return; |
@@ -419,7 +419,7 @@ void HTMLTextAreaElement::setValueCommon(const String& newValue, TextFieldEventB |
if (isFinishedParsingChildren()) { |
// Set the caret to the end of the text value except for initialize. |
unsigned endOfString = m_value.length(); |
- setSelectionRange(endOfString, endOfString, SelectionHasNoDirection, NotDispatchSelectEvent, ChangeSelectionIfFocused); |
+ setSelectionRange(endOfString, endOfString, SelectionHasNoDirection, NotDispatchSelectEvent); |
} |
notifyFormStateChanged(); |