| Index: third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.cpp b/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.cpp
|
| index 2c109a430b8190a615eb637a5d7df592fe9d07ab..c4c93a3254660056a0eb0246e520babe4e75b607 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.cpp
|
| @@ -93,14 +93,15 @@ int DateTimeNumericFieldElement::DefaultValueForStepUp() const {
|
| }
|
|
|
| void DateTimeNumericFieldElement::SetFocused(bool value,
|
| - WebFocusType focus_type) {
|
| + WebFocusType focus_type,
|
| + Node* common_ancestor) {
|
| if (!value) {
|
| int value = TypeAheadValue();
|
| type_ahead_buffer_.Clear();
|
| if (value >= 0)
|
| SetValueAsInteger(value, kDispatchEvent);
|
| }
|
| - DateTimeFieldElement::SetFocused(value, focus_type);
|
| + DateTimeFieldElement::SetFocused(value, focus_type, common_ancestor);
|
| }
|
|
|
| String DateTimeNumericFieldElement::FormatValue(int value) const {
|
|
|