diff options
Diffstat (limited to 'fxjs/cjs_runtimestub.cpp')
-rw-r--r-- | fxjs/cjs_runtimestub.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fxjs/cjs_runtimestub.cpp b/fxjs/cjs_runtimestub.cpp index 98c7679a04..c1e680e5d5 100644 --- a/fxjs/cjs_runtimestub.cpp +++ b/fxjs/cjs_runtimestub.cpp @@ -14,6 +14,10 @@ CJS_RuntimeStub::CJS_RuntimeStub(CPDFSDK_FormFillEnvironment* pFormFillEnv) CJS_RuntimeStub::~CJS_RuntimeStub() = default; +CJS_Runtime* CJS_RuntimeStub::AsCJSRuntime() { + return nullptr; +} + IJS_EventContext* CJS_RuntimeStub::NewEventContext() { if (!m_pContext) m_pContext = pdfium::MakeUnique<CJS_EventContextStub>(); |