summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_runtime.h')
-rw-r--r--fxjs/cjs_runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_runtime.h b/fxjs/cjs_runtime.h
index 99dbd0d443..687fdee454 100644
--- a/fxjs/cjs_runtime.h
+++ b/fxjs/cjs_runtime.h
@@ -30,7 +30,6 @@ class CJS_Runtime final : public IJS_Runtime,
~CJS_Runtime() override;
// IJS_Runtime
- CJS_Runtime* AsCJSRuntime() override;
IJS_EventContext* NewEventContext() override;
void ReleaseEventContext(IJS_EventContext* pContext) override;
CPDFSDK_FormFillEnvironment* GetFormFillEnv() const override;
@@ -52,6 +51,7 @@ class CJS_Runtime final : public IJS_Runtime,
v8::Local<v8::Value> MaybeCoerceToNumber(v8::Local<v8::Value> value);
#ifdef PDF_ENABLE_XFA
+ CJS_Runtime* AsCJSRuntime() override;
bool GetValueByNameFromGlobalObject(const ByteStringView& utf8Name,
CFXJSE_Value* pValue) override;
bool SetValueByNameInGlobalObject(const ByteStringView& utf8Name,