Index: Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
diff --git a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
index 8771e9f8a5e5a451c71bd670ab401e8ab0e4ada4..c0243960e3415a3863d75b044be52143798c9c83 100644 |
--- a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
+++ b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
@@ -187,6 +187,7 @@ |
input->setValueInternal(newValue, DispatchNoEvent); |
input->setNeedsStyleRecalc(); |
input->dispatchFormControlInputEvent(); |
+ input->dispatchFormControlChangeEvent(); |
} |
input->notifyFormStateChanged(); |
input->updateClearButtonVisibility(); |
@@ -263,7 +264,6 @@ |
unsigned end; |
if (date.parseDate(value, 0, end) && end == value.length()) |
edit->setOnlyYearMonthDay(date); |
- element().dispatchFormControlChangeEvent(); |
} |
void BaseMultipleFieldsDateAndTimeInputType::pickerIndicatorChooseValue(double value) |
@@ -448,11 +448,6 @@ |
return element().computeInheritedLanguage(); |
} |
-void BaseMultipleFieldsDateAndTimeInputType::editControlDidChangeValueByKeyboard() |
-{ |
- element().dispatchFormControlChangeEvent(); |
-} |
- |
void BaseMultipleFieldsDateAndTimeInputType::minOrMaxAttributeChanged() |
{ |
updateView(); |