summaryrefslogtreecommitdiff
path: root/fxjs/cjs_event_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_event_context.h')
-rw-r--r--fxjs/cjs_event_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_event_context.h b/fxjs/cjs_event_context.h
index f9572909e8..3cfc6da775 100644
--- a/fxjs/cjs_event_context.h
+++ b/fxjs/cjs_event_context.h
@@ -24,7 +24,7 @@ class CJS_EventContext : public IJS_EventContext {
~CJS_EventContext() 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,
const WideString& strTargetName) override;