From 9f4779f9231aeb3709c36193d43bde6b16576272 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Fri, 30 Mar 2018 20:29:17 +0200 Subject: Bug 1310078 - Implement valueAsNumber and valueAsDate for (follow up) --- dom/html/HTMLInputElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/html/HTMLInputElement.cpp') diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp index af70945e3..f1f84a27e 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(); } -- cgit v1.2.3