summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtimestub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_runtimestub.cpp')
-rw-r--r--fxjs/cjs_runtimestub.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/fxjs/cjs_runtimestub.cpp b/fxjs/cjs_runtimestub.cpp
index c1e680e5d5..44bdbca884 100644
--- a/fxjs/cjs_runtimestub.cpp
+++ b/fxjs/cjs_runtimestub.cpp
@@ -42,6 +42,7 @@ bool CJS_RuntimeStub::SetValueByNameInGlobalObject(const ByteStringView&,
}
#endif // PDF_ENABLE_XFA
-int CJS_RuntimeStub::ExecuteScript(const WideString& script, WideString* info) {
- return 0;
+Optional<IJS_Runtime::JS_Error> CJS_RuntimeStub::ExecuteScript(
+ const WideString& script) {
+ return pdfium::nullopt;
}