Index: Source/WebCore/html/shadow/DateTimeFieldElements.cpp |
=================================================================== |
--- Source/WebCore/html/shadow/DateTimeFieldElements.cpp (revision 141196) |
+++ Source/WebCore/html/shadow/DateTimeFieldElements.cpp (working copy) |
@@ -134,7 +134,7 @@ |
return; |
} |
- const int value = DateTimeNumericFieldElement::valueAsInteger(); |
+ const int value = valueAsInteger(); |
switch (maximum()) { |
case 11: |
@@ -210,11 +210,6 @@ |
DateTimeNumericFieldElement::setValueAsInteger(range().minimum && !value ? m_alignment : value, eventBehavior); |
} |
-int DateTimeHourFieldElement::valueAsInteger() const |
-{ |
- return hasValue() ? DateTimeNumericFieldElement::valueAsInteger() % m_alignment : -1; |
-} |
- |
// ---------------------------- |
DateTimeMillisecondFieldElement::DateTimeMillisecondFieldElement(Document* document, FieldOwner& fieldOwner, const DateTimeNumericFieldElement::Parameters& parameters) |