| Index: fpdfsdk/javascript/cjs_runtime.cpp
|
| diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp
|
| index bcdc17c38623da07eb2fc8b32776969e3fd2a71e..e61ab9effb11626a1d1a8f9c34b97ea29e902a6f 100644
|
| --- a/fpdfsdk/javascript/cjs_runtime.cpp
|
| +++ b/fpdfsdk/javascript/cjs_runtime.cpp
|
| @@ -221,11 +221,9 @@ void CJS_Runtime::SetReaderDocument(CPDFSDK_Document* pReaderDoc) {
|
| }
|
| }
|
|
|
| -int CJS_Runtime::Execute(IJS_Context* cc,
|
| - const wchar_t* script,
|
| - CFX_WideString* info) {
|
| +int CJS_Runtime::Execute(const wchar_t* script, CFX_WideString* info) {
|
| FXJSErr error = {};
|
| - int nRet = FXJS_Execute(m_isolate, cc, script, &error);
|
| + int nRet = FXJS_Execute(m_isolate, script, &error);
|
| if (nRet < 0) {
|
| info->Format(L"[ Line: %05d { %s } ] : %s", error.linnum - 1, error.srcline,
|
| error.message);
|
|
|