Index: Source/core/html/forms/DateInputType.cpp |
diff --git a/Source/core/html/forms/DateInputType.cpp b/Source/core/html/forms/DateInputType.cpp |
index a820bc8f97b0604988dec55ab24ff0cb6bcd21d9..148881e7481262ed6e14107b81878bca85ba45d3 100644 |
--- a/Source/core/html/forms/DateInputType.cpp |
+++ b/Source/core/html/forms/DateInputType.cpp |
@@ -72,7 +72,7 @@ StepRange DateInputType::createStepRange(AnyStepHandling anyStepHandling) const |
{ |
DEFINE_STATIC_LOCAL(const StepRange::StepDescription, stepDescription, (dateDefaultStep, dateDefaultStepBase, dateStepScaleFactor, StepRange::ParsedStepValueShouldBeInteger)); |
- return InputType::createStepRange(anyStepHandling, 0, Decimal::fromDouble(DateComponents::minimumDate()), Decimal::fromDouble(DateComponents::maximumDate()), stepDescription); |
+ return InputType::createStepRange(anyStepHandling, dateDefaultStepBase, Decimal::fromDouble(DateComponents::minimumDate()), Decimal::fromDouble(DateComponents::maximumDate()), stepDescription); |
} |
bool DateInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const |