summaryrefslogtreecommitdiff
path: root/fxjs/cjs_v8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_v8.cpp')
-rw-r--r--fxjs/cjs_v8.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/fxjs/cjs_v8.cpp b/fxjs/cjs_v8.cpp
index b4f7fb1ed2..7855813cba 100644
--- a/fxjs/cjs_v8.cpp
+++ b/fxjs/cjs_v8.cpp
@@ -196,14 +196,6 @@ v8::Local<v8::Array> CJS_V8::ToArray(v8::Local<v8::Value> pValue) {
return v8::Local<v8::Array>::Cast(pValue->ToObject(context).ToLocalChecked());
}
-void CJS_V8::SetConstArray(const WideString& name, v8::Local<v8::Array> array) {
- m_ConstArrays[name] = v8::Global<v8::Array>(GetIsolate(), array);
-}
-
-v8::Local<v8::Array> CJS_V8::GetConstArray(const WideString& name) {
- return v8::Local<v8::Array>::New(GetIsolate(), m_ConstArrays[name]);
-}
-
#ifdef PDF_ENABLE_XFA
CXFA_Object* CJS_V8::ToXFAObject(v8::Local<v8::Value> obj) {
ASSERT(!obj.IsEmpty());