Index: fpdfsdk/javascript/cjs_context.cpp |
diff --git a/fpdfsdk/javascript/cjs_context.cpp b/fpdfsdk/javascript/cjs_context.cpp |
index d50bc1dd160141c3b24f8e5d551b82839dbd5e2e..0a34b353b5d3d48d0da0c2d7f9790b9cc6f089a0 100644 |
--- a/fpdfsdk/javascript/cjs_context.cpp |
+++ b/fpdfsdk/javascript/cjs_context.cpp |
@@ -18,7 +18,7 @@ CJS_Context::CJS_Context(CJS_Runtime* pRuntime) |
CJS_Context::~CJS_Context() {} |
CPDFSDK_FormFillEnvironment* CJS_Context::GetFormFillEnv() { |
- return m_pRuntime->GetReaderEnv(); |
+ return m_pRuntime->GetFormFillEnv(); |
} |
FX_BOOL CJS_Context::RunScript(const CFX_WideString& script, |