summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-25 13:33:53 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-25 19:34:44 +0000
commit636904b802b93b047918ce1000019edfa5da59ed (patch)
tree3531b74c7299d5603387998ed909abbbabf92c0c
parent780a6339d5beee5cd7b138ad947452afc74d3ca8 (diff)
downloadpdfium-636904b802b93b047918ce1000019edfa5da59ed.tar.xz
Remove CJS_Value
Not used anywhere, Removed. Change-Id: Idbdbe36e34fe97deceeb68601b0ceee31f4fdc35 Reviewed-on: https://pdfium-review.googlesource.com/16770 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
-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();