Index: fpdfsdk/javascript/JS_Object.cpp |
diff --git a/fpdfsdk/javascript/JS_Object.cpp b/fpdfsdk/javascript/JS_Object.cpp |
index 88dd288f1ea428fc70fad9ea507e6feb895b6c09..9ef6cdd2346db3b5e92e07eb54c20e34c49cf33f 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() {} |