Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index b41a6f1f819f49552ec90f372ff7418793627cf1..0b96aa6bf46ce3a9ba7d9216cbb2204c26956cb6 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1804,7 +1804,7 @@ bool HTMLInputElement::setupDateTimeChooserParameters(DateTimeChooserParameters& |
parameters.locale = defaultLanguage(); |
else { |
AtomicString computedLocale = computeInheritedLanguage(); |
- parameters.locale = computedLocale.isEmpty() ? AtomicString(defaultLanguage()) : computedLocale; |
+ parameters.locale = computedLocale.isEmpty() ? defaultLanguage() : computedLocale; |
} |
StepRange stepRange = createStepRange(RejectAny); |