diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-25 14:34:26 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-25 19:51:33 +0000 |
commit | 6687f780d0c7a9a4f453f166bb4efb55294349a6 (patch) | |
tree | 22b88cfdd122b65f01cbbb319f4d72e2797da8b9 /fpdfsdk/javascript/JS_Value.h | |
parent | 4c50b8b2a2cc1b88e8df92dbee7048356ec0a6fb (diff) | |
download | pdfium-6687f780d0c7a9a4f453f166bb4efb55294349a6.tar.xz |
Remove CJS_Date
This CL removes the CJS_Date class and uses the v8::Local<v8::Date>
directly.
Change-Id: I4a59b0076bc0e5dc3142b36bd7125115605d416f
Reviewed-on: https://pdfium-review.googlesource.com/16811
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/JS_Value.h')
-rw-r--r-- | fpdfsdk/javascript/JS_Value.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h index 6136119e51..2d5a390fca 100644 --- a/fpdfsdk/javascript/JS_Value.h +++ b/fpdfsdk/javascript/JS_Value.h @@ -60,18 +60,6 @@ class CJS_Array { mutable v8::Local<v8::Array> m_pArray; }; -class CJS_Date { - public: - explicit CJS_Date(v8::Local<v8::Date> pDate); - CJS_Date(const CJS_Date&); - virtual ~CJS_Date(); - - v8::Local<v8::Value> ToV8Value() const { return m_pDate; } - - private: - v8::Local<v8::Date> m_pDate; -}; - double JS_GetDateTime(); int JS_GetYearFromTime(double dt); int JS_GetMonthFromTime(double dt); |