Index: Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp |
=================================================================== |
--- Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp (revision 134890) |
+++ Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp (working copy) |
@@ -160,14 +160,12 @@ |
return m_range.minimum; |
} |
-void DateTimeNumericFieldElement::setEmptyValue(const DateComponents& dateForReadOnlyField, EventBehavior eventBehavior) |
+void DateTimeNumericFieldElement::setEmptyValue(EventBehavior eventBehavior) |
{ |
m_lastDigitCharTime = 0; |
- if (isReadOnly()) { |
- setValueAsDate(dateForReadOnlyField); |
+ if (isReadOnly()) |
return; |
- } |
m_hasValue = false; |
m_value = 0; |