summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtimestub.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_runtimestub.h')
-rw-r--r--fxjs/cjs_runtimestub.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/cjs_runtimestub.h b/fxjs/cjs_runtimestub.h
index 779a67579e..b4bb2dd8f0 100644
--- a/fxjs/cjs_runtimestub.h
+++ b/fxjs/cjs_runtimestub.h
@@ -21,12 +21,13 @@ class CJS_RuntimeStub final : public IJS_Runtime {
explicit CJS_RuntimeStub(CPDFSDK_FormFillEnvironment* pFormFillEnv);
~CJS_RuntimeStub() override;
- CJS_Runtime* AsCJSRuntime() override;
+ // IJS_Runtime:
IJS_EventContext* NewEventContext() override;
void ReleaseEventContext(IJS_EventContext* pContext) override;
CPDFSDK_FormFillEnvironment* GetFormFillEnv() const override;
#ifdef PDF_ENABLE_XFA
+ CJS_Runtime* AsCJSRuntime() override;
bool GetValueByNameFromGlobalObject(const ByteStringView&,
CFXJSE_Value*) override;
bool SetValueByNameInGlobalObject(const ByteStringView&,