Index: Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
diff --git a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
index 701fddfe3025b7f1459506f9be5946c71f068d04..5e7ce7595b8bdd50eee393b2738d1d6491eb760e 100644 |
--- a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
+++ b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
@@ -148,7 +148,7 @@ void BaseMultipleFieldsDateAndTimeInputType::didFocusOnControl() |
void BaseMultipleFieldsDateAndTimeInputType::editControlValueChanged() |
{ |
- RefPtr<HTMLInputElement> input(element()); |
+ Handle<HTMLInputElement> input(element()); |
String oldValue = input->value(); |
String newValue = sanitizeValue(m_dateTimeEditElement->value()); |
// Even if oldValue is null and newValue is "", we should assume they are same. |
@@ -234,7 +234,7 @@ bool BaseMultipleFieldsDateAndTimeInputType::setupDateTimeChooserParameters(Date |
return element()->setupDateTimeChooserParameters(parameters); |
} |
-BaseMultipleFieldsDateAndTimeInputType::BaseMultipleFieldsDateAndTimeInputType(HTMLInputElement* element) |
+BaseMultipleFieldsDateAndTimeInputType::BaseMultipleFieldsDateAndTimeInputType(Handle<HTMLInputElement> element) |
: BaseDateAndTimeInputType(element) |
, m_dateTimeEditElement(0) |
, m_spinButtonElement(0) |
@@ -567,7 +567,7 @@ bool BaseMultipleFieldsDateAndTimeInputType::shouldClearButtonRespondToMouseEven |
void BaseMultipleFieldsDateAndTimeInputType::clearValue() |
{ |
- RefPtr<HTMLInputElement> input(element()); |
+ Handle<HTMLInputElement> input(element()); |
input->setValue("", DispatchInputAndChangeEvent); |
input->updateClearButtonVisibility(); |
} |