summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Value.cpp
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.cpp
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.cpp')
-rw-r--r--fpdfsdk/javascript/JS_Value.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/fpdfsdk/javascript/JS_Value.cpp b/fpdfsdk/javascript/JS_Value.cpp
index 5c1ba2a432..c13d1d405e 100644
--- a/fpdfsdk/javascript/JS_Value.cpp
+++ b/fpdfsdk/javascript/JS_Value.cpp
@@ -75,11 +75,6 @@ void CJS_Value::Attach(v8::Local<v8::Value> pValue) {
m_pValue = pValue;
}
-void CJS_Value::Attach(CJS_Value* pValue) {
- if (pValue)
- Attach(pValue->ToV8Value());
-}
-
void CJS_Value::Detach() {
m_pValue = v8::Local<v8::Value>();
}