From df950b87e781daf92364afb22f13d87b18858c80 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 4 Aug 2017 11:33:49 -0700 Subject: Remove platform-specific IsFinite, JS_PortIsNan, and GetNan. Because C++11 gives us std::isfinite(), std::isnan() and std::nan(). Bug: pdfium:459 Change-Id: I128f332ec908df6aff66ef76012288fd22d423ed Reviewed-on: https://pdfium-review.googlesource.com/10190 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- fpdfsdk/javascript/JS_Value.h | 1 - 1 file changed, 1 deletion(-) (limited to 'fpdfsdk/javascript/JS_Value.h') diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h index 1a6d47fcea..6b67839aff 100644 --- a/fpdfsdk/javascript/JS_Value.h +++ b/fpdfsdk/javascript/JS_Value.h @@ -197,7 +197,6 @@ double JS_DateParse(const CFX_WideString& str); double JS_MakeDay(int nYear, int nMonth, int nDay); double JS_MakeTime(int nHour, int nMin, int nSec, int nMs); double JS_MakeDate(double day, double time); -bool JS_PortIsNan(double d); double JS_LocalTime(double d); // Some JS methods have the bizarre convention that they may also be called -- cgit v1.2.3