summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Value.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-07-25 07:26:47 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-25 07:26:47 -0700
commitd780735def22c4c2ec3a0cc89856c86486c25494 (patch)
tree84f1127937f5e1a73df8f7b9d780f8863cbcb8ae /fpdfsdk/javascript/JS_Value.h
parent0024a22b4a793630a1a8e8d85c4525c7b82a3ed7 (diff)
downloadpdfium-d780735def22c4c2ec3a0cc89856c86486c25494.tar.xz
Remove unused CJS_Value::Attach() variant
Review-Url: https://codereview.chromium.org/2174513002
Diffstat (limited to 'fpdfsdk/javascript/JS_Value.h')
-rw-r--r--fpdfsdk/javascript/JS_Value.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h
index 8e791253c6..2abc42521d 100644
--- a/fpdfsdk/javascript/JS_Value.h
+++ b/fpdfsdk/javascript/JS_Value.h
@@ -31,7 +31,7 @@ class CJS_Value {
VT_undefined
};
- CJS_Value(CJS_Runtime* pRuntime);
+ explicit CJS_Value(CJS_Runtime* pRuntime);
CJS_Value(CJS_Runtime* pRuntime, v8::Local<v8::Value> pValue);
CJS_Value(CJS_Runtime* pRuntime, const int& iValue);
CJS_Value(CJS_Runtime* pRuntime, const double& dValue);
@@ -41,13 +41,12 @@ class CJS_Value {
CJS_Value(CJS_Runtime* pRuntime, const FX_CHAR* pStr);
CJS_Value(CJS_Runtime* pRuntime, const FX_WCHAR* pWstr);
CJS_Value(CJS_Runtime* pRuntime, CJS_Array& array);
+ CJS_Value(const CJS_Value& other);
~CJS_Value();
- CJS_Value(const CJS_Value& other);
void SetNull();
void Attach(v8::Local<v8::Value> pValue);
- void Attach(CJS_Value* pValue);
void Detach();
static Type GetValueType(v8::Local<v8::Value> value);