Index: Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
diff --git a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
index 30248749fddf00b5ece01d49361a7a18f3954636..aa4f80b0bac5c0e27d6fd34078c1c4395302c47d 100644 |
--- a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
+++ b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
@@ -494,8 +494,8 @@ |
InputType::setValue(sanitizedValue, valueChanged, eventBehavior); |
DateTimeEditElement* edit = dateTimeEditElement(); |
if (valueChanged || (sanitizedValue.isEmpty() && edit && edit->anyEditableFieldsHaveValues())) { |
+ element().updateView(); |
element().setNeedsValidityCheck(); |
- element().updateView(); |
} |
} |