summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Object.h')
-rw-r--r--fpdfsdk/src/javascript/JS_Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/JS_Object.h b/fpdfsdk/src/javascript/JS_Object.h
index 82d1da9ee9..563a316bd6 100644
--- a/fpdfsdk/src/javascript/JS_Object.h
+++ b/fpdfsdk/src/javascript/JS_Object.h
@@ -49,7 +49,7 @@ class CJS_Object {
virtual FX_BOOL IsType(const FX_CHAR* sClassName) { return TRUE; }
virtual CFX_ByteString GetClassName() { return ""; }
- virtual FX_BOOL InitInstance(IFXJS_Context* cc) { return TRUE; }
+ virtual FX_BOOL InitInstance(IJS_Context* cc) { return TRUE; }
virtual FX_BOOL ExitInstance() { return TRUE; }
v8::Local<v8::Object> ToV8Object() { return m_pV8Object.Get(m_pIsolate); }