Index: fpdfsdk/src/javascript/JS_Context.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Context.cpp b/fpdfsdk/src/javascript/JS_Context.cpp |
index 3c9be58013b130495456e12865aedb6ae608d1d0..d4d1f2c8773869e403351083ca319f29798122d4 100644 |
--- a/fpdfsdk/src/javascript/JS_Context.cpp |
+++ b/fpdfsdk/src/javascript/JS_Context.cpp |
@@ -56,8 +56,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) { |