summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtimestub.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_runtimestub.h')
-rw-r--r--fxjs/cjs_runtimestub.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/cjs_runtimestub.h b/fxjs/cjs_runtimestub.h
index a9e85fdf03..cc32744736 100644
--- a/fxjs/cjs_runtimestub.h
+++ b/fxjs/cjs_runtimestub.h
@@ -33,7 +33,8 @@ class CJS_RuntimeStub final : public IJS_Runtime {
CFXJSE_Value*) override;
#endif // PDF_ENABLE_XFA
- int ExecuteScript(const WideString& script, WideString* info) override;
+ Optional<IJS_Runtime::JS_Error> ExecuteScript(
+ const WideString& script) override;
protected:
UnownedPtr<CPDFSDK_FormFillEnvironment> const m_pFormFillEnv;