summaryrefslogtreecommitdiff
path: root/fxjs/cjs_event_context_stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_event_context_stub.h')
-rw-r--r--fxjs/cjs_event_context_stub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_event_context_stub.h b/fxjs/cjs_event_context_stub.h
index bc853694df..c8c5e33ac3 100644
--- a/fxjs/cjs_event_context_stub.h
+++ b/fxjs/cjs_event_context_stub.h
@@ -15,7 +15,7 @@ class CJS_EventContextStub final : public IJS_EventContext {
~CJS_EventContextStub() override {}
// IJS_EventContext:
- bool RunScript(const WideString& script, WideString* info) override;
+ Optional<IJS_Runtime::JS_Error> RunScript(const WideString& script) override;
void OnApp_Init() override {}
void OnDoc_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv,