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 f65dd4c030df7a0137deda28a5d07d2f31518990..240801e2ec6016ae6507d39015cad5b864eb1817 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp |
@@ -187,9 +187,9 @@ void HTMLTextFormControlElement::setSelectionDirection(const String& direction) |
setSelectionRangeForBinding(selectionStart(), selectionEnd(), direction); |
} |
-void HTMLTextFormControlElement::select(NeedToDispatchSelectEvent eventBehaviour) |
+void HTMLTextFormControlElement::select() |
{ |
- setSelectionRange(0, std::numeric_limits<int>::max(), SelectionHasNoDirection, eventBehaviour); |
+ setSelectionRange(0, std::numeric_limits<int>::max(), SelectionHasNoDirection, DispatchSelectEvent); |
focus(); |
} |