summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Define.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2017-01-12 06:29:47 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-12 06:29:47 -0800
commitffdfbb9ec274785e01dbdb64e9eef624fc1fb2e4 (patch)
tree474ffa85ff36c02fcb764b8a3b13a7d00fb507e2 /fpdfsdk/javascript/JS_Define.h
parente8b0281d1342cba6bb1d2f056e014df54b830459 (diff)
downloadpdfium-ffdfbb9ec274785e01dbdb64e9eef624fc1fb2e4.tar.xz
Remove unused CJS_Object::ExitInstance() method
All the work happens in the virtual dtors like it should. Review-Url: https://codereview.chromium.org/2628843003
Diffstat (limited to 'fpdfsdk/javascript/JS_Define.h')
-rw-r--r--fpdfsdk/javascript/JS_Define.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/JS_Define.h b/fpdfsdk/javascript/JS_Define.h
index 17dd8e9c70..feab4d1996 100644
--- a/fpdfsdk/javascript/JS_Define.h
+++ b/fpdfsdk/javascript/JS_Define.h
@@ -261,7 +261,6 @@ void JSMethod(const char* method_name_string,
v8::Local<v8::Object> obj) { \
js_class_name* pObj = \
static_cast<js_class_name*>(pEngine->GetObjectPrivate(obj)); \
- pObj->ExitInstance(); \
delete pObj; \
} \
void js_class_name::DefineProps(CFXJS_Engine* pEngine) { \