summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/javascript/JS_Value.cpp16
-rw-r--r--fpdfsdk/javascript/JS_Value.h16
2 files changed, 0 insertions, 32 deletions
diff --git a/fpdfsdk/javascript/JS_Value.cpp b/fpdfsdk/javascript/JS_Value.cpp
index a8b6ad6bcd..4ef194b8f2 100644
--- a/fpdfsdk/javascript/JS_Value.cpp
+++ b/fpdfsdk/javascript/JS_Value.cpp
@@ -189,22 +189,6 @@ CJS_Return::CJS_Return(const CJS_Return&) = default;
CJS_Return::~CJS_Return() = default;
-CJS_Value::CJS_Value() {}
-
-CJS_Value::CJS_Value(v8::Local<v8::Value> pValue) : m_pValue(pValue) {}
-
-CJS_Value::~CJS_Value() {}
-
-CJS_Value::CJS_Value(const CJS_Value& other) = default;
-
-void CJS_Value::Set(v8::Local<v8::Value> pValue) {
- m_pValue = pValue;
-}
-
-v8::Local<v8::Value> CJS_Value::ToV8Value() const {
- return m_pValue;
-}
-
CJS_Array::CJS_Array() {}
CJS_Array::CJS_Array(v8::Local<v8::Array> pArray) : m_pArray(pArray) {}
diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h
index c508fe80d7..e3947eb66b 100644
--- a/fpdfsdk/javascript/JS_Value.h
+++ b/fpdfsdk/javascript/JS_Value.h
@@ -39,22 +39,6 @@ class CJS_Return {
v8::Local<v8::Value> return_;
};
-class CJS_Value {
- public:
- CJS_Value();
- explicit CJS_Value(v8::Local<v8::Value> pValue);
- CJS_Value(const CJS_Value& other);
- ~CJS_Value();
-
- // These calls may re-enter JS (and hence invalidate objects).
- void Set(v8::Local<v8::Value> pValue);
-
- v8::Local<v8::Value> ToV8Value() const;
-
- private:
- v8::Local<v8::Value> m_pValue;
-};
-
class CJS_Array {
public:
CJS_Array();