Index: third_party/WebKit/Source/web/WebFormControlElement.cpp |
diff --git a/third_party/WebKit/Source/web/WebFormControlElement.cpp b/third_party/WebKit/Source/web/WebFormControlElement.cpp |
index a7182861ae309314bb6847fec7066e0cd51a6276..bb2ba6a01771c6207be60cebce8634836b9ebd01 100644 |
--- a/third_party/WebKit/Source/web/WebFormControlElement.cpp |
+++ b/third_party/WebKit/Source/web/WebFormControlElement.cpp |
@@ -162,9 +162,9 @@ WebString WebFormControlElement::editingValue() const |
void WebFormControlElement::setSelectionRange(int start, int end) |
{ |
if (isHTMLInputElement(*m_private)) |
- unwrap<HTMLInputElement>()->setSelectionRange(start, end, SelectionHasNoDirection, NotDispatchSelectEvent); |
+ unwrap<HTMLInputElement>()->setSelectionRange(start, end); |
else if (isHTMLTextAreaElement(*m_private)) |
- unwrap<HTMLTextAreaElement>()->setSelectionRange(start, end, SelectionHasNoDirection, NotDispatchSelectEvent); |
+ unwrap<HTMLTextAreaElement>()->setSelectionRange(start, end); |
} |
int WebFormControlElement::selectionStart() const |