| Index: fpdfsdk/src/javascript/JS_Runtime_Stub.cpp
|
| diff --git a/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp
|
| index ea1e6c1c55a1004e97db7b0b3af1bfb0ba9a5c8e..7e3d78881a50b8ea62378f7fa9b7e6620cec4920 100644
|
| --- a/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp
|
| +++ b/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp
|
| @@ -15,7 +15,7 @@ class CJS_ContextStub final : public IJS_Context {
|
|
|
| // IJS_Context:
|
| FX_BOOL RunScript(const CFX_WideString& script,
|
| - CFX_WideString& info) override {
|
| + CFX_WideString* info) override {
|
| return FALSE;
|
| }
|
|
|
| @@ -146,6 +146,12 @@ class CJS_RuntimeStub final : public IJS_Runtime {
|
| return FALSE;
|
| }
|
|
|
| + int Execute(IJS_Context* cc,
|
| + const wchar_t* script,
|
| + CFX_WideString* info) override {
|
| + return 0;
|
| + }
|
| +
|
| protected:
|
| CPDFSDK_Document* m_pDoc;
|
| nonstd::unique_ptr<CJS_ContextStub> m_pContext;
|
|
|