Index: fpdfsdk/javascript/cjs_context.cpp |
diff --git a/fpdfsdk/javascript/cjs_context.cpp b/fpdfsdk/javascript/cjs_context.cpp |
index c8630ab32df310e1f6ae04d3b054b49f34cde092..b844dc6e5cad2a20ae50ec72c0b93609a6971dfb 100644 |
--- a/fpdfsdk/javascript/cjs_context.cpp |
+++ b/fpdfsdk/javascript/cjs_context.cpp |
@@ -51,7 +51,7 @@ FX_BOOL CJS_Context::RunScript(const CFX_WideString& script, |
CFX_WideString sErrorMessage; |
int nRet = 0; |
if (script.GetLength() > 0) { |
- nRet = m_pRuntime->Execute(this, script.c_str(), &sErrorMessage); |
+ nRet = m_pRuntime->Execute(script.c_str(), &sErrorMessage); |
} |
if (nRet < 0) { |