Index: Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
diff --git a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
index 2709f76299ff0e997c1f40029705ed9958ac813e..13b634510254d48a4b7956e3e8d1a269ae775689 100644 |
--- a/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
+++ b/Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp |
@@ -420,14 +420,12 @@ void BaseMultipleFieldsDateAndTimeInputType::forwardEvent(Event* event) |
void BaseMultipleFieldsDateAndTimeInputType::disabledAttributeChanged() |
{ |
spinButtonElement()->releaseCapture(); |
- clearButtonElement()->releaseCapture(); |
if (DateTimeEditElement* edit = dateTimeEditElement()) |
edit->disabledStateChanged(); |
} |
void BaseMultipleFieldsDateAndTimeInputType::requiredAttributeChanged() |
{ |
- clearButtonElement()->releaseCapture(); |
updateClearButtonVisibility(); |
} |
@@ -467,7 +465,6 @@ void BaseMultipleFieldsDateAndTimeInputType::minOrMaxAttributeChanged() |
void BaseMultipleFieldsDateAndTimeInputType::readonlyAttributeChanged() |
{ |
spinButtonElement()->releaseCapture(); |
- clearButtonElement()->releaseCapture(); |
if (DateTimeEditElement* edit = dateTimeEditElement()) |
edit->readOnlyStateChanged(); |
} |