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 c651810e5febaf0d4b3a437c9f5528617e9dcdb6..04a213f5895fa40158d0a2ba227ba543714106ab 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); |
+ setSelectionRange(endOfString, endOfString); |
} |
} |
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); |
+ setSelectionRange(endOfString, endOfString); |
} |
notifyFormStateChanged(); |