Index: fpdfsdk/src/javascript/JS_Object.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Object.cpp b/fpdfsdk/src/javascript/JS_Object.cpp |
index 96e1d1d56492c7487d0d5c795b1151ba6acb0168..02978982d89d4da07ffdef47e8ffc5bdbf376087 100644 |
--- a/fpdfsdk/src/javascript/JS_Object.cpp |
+++ b/fpdfsdk/src/javascript/JS_Object.cpp |
@@ -89,7 +89,7 @@ CJS_Object::CJS_Object(JSFXObject pObject) : m_pEmbedObj(NULL) { |
m_pObject.Reset(m_pIsolate, pObject); |
}; |
-CJS_Object::~CJS_Object(void) { |
+CJS_Object::~CJS_Object() { |
m_pObject.Reset(); |
}; |