From 1a9f7f431098fa74f2c4823d2e57199556ec3a8d Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Fri, 30 Mar 2018 20:29:17 +0200 Subject: [PATCH] Bug 1310078 - Implement valueAsNumber and valueAsDate for (follow up) --- dom/html/HTMLInputElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp index af70945e3a..f1f84a27e6 100644 --- a/dom/html/HTMLInputElement.cpp +++ b/dom/html/HTMLInputElement.cpp @@ -2311,7 +2311,7 @@ HTMLInputElement::GetValueAsDate(ErrorResult& aRv) { uint32_t year, month, day, timeInMs; nsAutoString value; - GetNonFileValueInternal(value); + GetValueInternal(value); if (!ParseDateTimeLocal(value, &year, &month, &day, &timeInMs)) { return Nullable(); }