summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/JS_Object.cpp')
-rw-r--r--fpdfsdk/javascript/JS_Object.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/JS_Object.cpp b/fpdfsdk/javascript/JS_Object.cpp
index 88dd288f1e..9ef6cdd234 100644
--- a/fpdfsdk/javascript/JS_Object.cpp
+++ b/fpdfsdk/javascript/JS_Object.cpp
@@ -16,7 +16,6 @@ CJS_EmbedObj::~CJS_EmbedObj() {
void FreeObject(const v8::WeakCallbackInfo<CJS_Object>& data) {
CJS_Object* pJSObj = data.GetParameter();
- pJSObj->ExitInstance();
delete pJSObj;
CFXJS_Engine::FreeObjectPrivate(data.GetInternalField(0));
}
@@ -44,5 +43,3 @@ void CJS_Object::Dispose() {
}
void CJS_Object::InitInstance(IJS_Runtime* pIRuntime) {}
-
-void CJS_Object::ExitInstance() {}