| Index: third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.cpp b/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.cpp
|
| index ee0b4038b5f079e730218f78c687a859146ce789..776ce0183d083a3e1f5161c72cc94f46eeb22288 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.cpp
|
| @@ -92,14 +92,15 @@ int DateTimeNumericFieldElement::DefaultValueForStepUp() const {
|
| return range_.minimum;
|
| }
|
|
|
| -void DateTimeNumericFieldElement::SetFocused(bool value) {
|
| +void DateTimeNumericFieldElement::SetFocused(bool value,
|
| + WebFocusType focus_type) {
|
| if (!value) {
|
| int value = TypeAheadValue();
|
| type_ahead_buffer_.Clear();
|
| if (value >= 0)
|
| SetValueAsInteger(value, kDispatchEvent);
|
| }
|
| - DateTimeFieldElement::SetFocused(value);
|
| + DateTimeFieldElement::SetFocused(value, focus_type);
|
| }
|
|
|
| String DateTimeNumericFieldElement::FormatValue(int value) const {
|
|
|