diff options
Diffstat (limited to 'fxjs/cjs_event_context_stub.cpp')
-rw-r--r-- | fxjs/cjs_event_context_stub.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/cjs_event_context_stub.cpp b/fxjs/cjs_event_context_stub.cpp index 0517ab2c49..82530e4c7b 100644 --- a/fxjs/cjs_event_context_stub.cpp +++ b/fxjs/cjs_event_context_stub.cpp @@ -6,7 +6,7 @@ #include "fxjs/cjs_event_context_stub.h" -bool CJS_EventContextStub::RunScript(const WideString& script, - WideString* info) { - return false; +Optional<IJS_Runtime::JS_Error> CJS_EventContextStub::RunScript( + const WideString& script) { + return IJS_Runtime::JS_Error(1, 1, L"JavaScript support not present"); } |