Index: fpdfsdk/src/javascript/JS_Object.h |
diff --git a/fpdfsdk/src/javascript/JS_Object.h b/fpdfsdk/src/javascript/JS_Object.h |
index 563a316bd6bc527c6a62d851e0be3f4c175e6bca..50751523f50b5c247925d50ca0349e6f58a237b4 100644 |
--- a/fpdfsdk/src/javascript/JS_Object.h |
+++ b/fpdfsdk/src/javascript/JS_Object.h |
@@ -49,8 +49,8 @@ class CJS_Object { |
virtual FX_BOOL IsType(const FX_CHAR* sClassName) { return TRUE; } |
virtual CFX_ByteString GetClassName() { return ""; } |
- virtual FX_BOOL InitInstance(IJS_Context* cc) { return TRUE; } |
- virtual FX_BOOL ExitInstance() { return TRUE; } |
+ virtual void InitInstance(IJS_Runtime* pIRuntime) {} |
+ virtual void ExitInstance() {} |
v8::Local<v8::Object> ToV8Object() { return m_pV8Object.Get(m_pIsolate); } |