From 636904b802b93b047918ce1000019edfa5da59ed Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 25 Oct 2017 13:33:53 -0400 Subject: Remove CJS_Value Not used anywhere, Removed. Change-Id: Idbdbe36e34fe97deceeb68601b0ceee31f4fdc35 Reviewed-on: https://pdfium-review.googlesource.com/16770 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- fpdfsdk/javascript/JS_Value.cpp | 16 ---------------- fpdfsdk/javascript/JS_Value.h | 16 ---------------- 2 files changed, 32 deletions(-) (limited to 'fpdfsdk') 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 pValue) : m_pValue(pValue) {} - -CJS_Value::~CJS_Value() {} - -CJS_Value::CJS_Value(const CJS_Value& other) = default; - -void CJS_Value::Set(v8::Local pValue) { - m_pValue = pValue; -} - -v8::Local CJS_Value::ToV8Value() const { - return m_pValue; -} - CJS_Array::CJS_Array() {} CJS_Array::CJS_Array(v8::Local 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 return_; }; -class CJS_Value { - public: - CJS_Value(); - explicit CJS_Value(v8::Local pValue); - CJS_Value(const CJS_Value& other); - ~CJS_Value(); - - // These calls may re-enter JS (and hence invalidate objects). - void Set(v8::Local pValue); - - v8::Local ToV8Value() const; - - private: - v8::Local m_pValue; -}; - class CJS_Array { public: CJS_Array(); -- cgit v1.2.3