summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Value.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-08-04 11:33:49 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-04 19:26:14 +0000
commitdf950b87e781daf92364afb22f13d87b18858c80 (patch)
treea333e02d43ee4909c7cffcae131aac2cf5a8b45a /fpdfsdk/javascript/JS_Value.h
parent5c09f4ca825652f910d3ff406fcbf64d25f56e23 (diff)
downloadpdfium-df950b87e781daf92364afb22f13d87b18858c80.tar.xz
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 <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/JS_Value.h')
-rw-r--r--fpdfsdk/javascript/JS_Value.h1
1 files changed, 0 insertions, 1 deletions
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