| Index: third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
|
| index 5cf87fcad2864467947781410e5b890001e6fc52..daf8bad72a409ef8364d293ea19162fa7ca6ae0d 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
|
| @@ -194,7 +194,7 @@ void MultipleFieldsTemporalInputTypeView::editControlValueChanged() {
|
| if ((oldValue.isEmpty() && newValue.isEmpty()) || oldValue == newValue) {
|
| element().setNeedsValidityCheck();
|
| } else {
|
| - element().setValueInternal(newValue, DispatchNoEvent);
|
| + element().setNonAttributeValue(newValue);
|
| element().setNeedsStyleRecalc(
|
| SubtreeStyleChange,
|
| StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue));
|
| @@ -482,8 +482,7 @@ void MultipleFieldsTemporalInputTypeView::restoreFormControlState(
|
| DateTimeFieldsState dateTimeFieldsState =
|
| DateTimeFieldsState::restoreFormControlState(state);
|
| edit->setValueAsDateTimeFieldsState(dateTimeFieldsState);
|
| - element().setValueInternal(m_inputType->sanitizeValue(edit->value()),
|
| - DispatchNoEvent);
|
| + element().setNonAttributeValue(m_inputType->sanitizeValue(edit->value()));
|
| updateClearButtonVisibility();
|
| }
|
|
|
|
|