Index: Source/WebCore/html/shadow/DateTimeFieldElement.cpp |
=================================================================== |
--- Source/WebCore/html/shadow/DateTimeFieldElement.cpp (revision 141197) |
+++ Source/WebCore/html/shadow/DateTimeFieldElement.cpp (working copy) |
@@ -140,11 +140,11 @@ |
m_fieldOwner->focusOnNextField(*this); |
} |
-void DateTimeFieldElement::initialize(const AtomicString& pseudo, const String& axHelpText) |
+void DateTimeFieldElement::initialize(const AtomicString& pseudo, const String& axHelpText, int axMinimum, int axMaximum) |
{ |
setAttribute(aria_helpAttr, axHelpText); |
- setAttribute(aria_valueminAttr, String::number(minimum())); |
- setAttribute(aria_valuemaxAttr, String::number(maximum())); |
+ setAttribute(aria_valueminAttr, String::number(axMinimum)); |
+ setAttribute(aria_valuemaxAttr, String::number(axMaximum)); |
setPseudo(pseudo); |
appendChild(Text::create(document(), visibleValue())); |
} |