summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Value.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-24 11:23:25 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-24 17:17:44 +0000
commit1d8d9ac983fa9c7b6dfc3df736cfd3eae6908a60 (patch)
tree4508fee34d447c5753bdcc0568ad888873e838c2 /fpdfsdk/javascript/JS_Value.h
parente49749265c4e503c37a316e4ca6eeff430d13b87 (diff)
downloadpdfium-1d8d9ac983fa9c7b6dfc3df736cfd3eae6908a60.tar.xz
Remove CJS_Value constructors
This CL removes most of the CJS_Value constructors and leaves the v8::Local<v8::Value> constructor as the only non-default construtor. Change-Id: Ie98260d10eff645d0ca688b353e7d40ba1aac157 Reviewed-on: https://pdfium-review.googlesource.com/16611 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/JS_Value.h')
-rw-r--r--fpdfsdk/javascript/JS_Value.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h
index 72d381e188..c0e267a4a5 100644
--- a/fpdfsdk/javascript/JS_Value.h
+++ b/fpdfsdk/javascript/JS_Value.h
@@ -34,16 +34,7 @@ class CJS_Value {
CJS_Value();
explicit CJS_Value(v8::Local<v8::Value> pValue);
- CJS_Value(CJS_Runtime* pRuntime, int iValue);
- CJS_Value(CJS_Runtime* pRuntime, double dValue);
- CJS_Value(CJS_Runtime* pRuntime, bool bValue);
- explicit CJS_Value(CJS_Object* pObj);
- CJS_Value(CJS_Runtime* pRuntime, const char* pStr);
- CJS_Value(CJS_Runtime* pRuntime, const wchar_t* pWstr);
- CJS_Value(CJS_Runtime* pRuntime, const CJS_Array& array);
- explicit CJS_Value(const CJS_Date& date);
CJS_Value(const CJS_Value& other);
-
~CJS_Value();
// These calls may re-enter JS (and hence invalidate objects).