| Index: fpdfsdk/src/javascript/JS_Context.cpp
|
| diff --git a/fpdfsdk/src/javascript/JS_Context.cpp b/fpdfsdk/src/javascript/JS_Context.cpp
|
| index 2bee913ed766153d72bd62230f61e06afc17c031..41146ed59168997e85f66006ccd70b894a97ef3f 100644
|
| --- a/fpdfsdk/src/javascript/JS_Context.cpp
|
| +++ b/fpdfsdk/src/javascript/JS_Context.cpp
|
| @@ -55,8 +55,8 @@ FX_BOOL CJS_Context::RunScript(const CFX_WideString& script,
|
| FXJSErr error = {NULL, NULL, 0};
|
| int nRet = 0;
|
| if (script.GetLength() > 0) {
|
| - nRet = JS_Execute(m_pRuntime->GetIsolate(), this, script.c_str(),
|
| - script.GetLength(), &error);
|
| + nRet = FXJS_Execute(m_pRuntime->GetIsolate(), this, script.c_str(),
|
| + script.GetLength(), &error);
|
| }
|
|
|
| if (nRet < 0) {
|
|
|