summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/cjs_context.cpp')
-rw-r--r--fpdfsdk/javascript/cjs_context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/cjs_context.cpp b/fpdfsdk/javascript/cjs_context.cpp
index 4a6e4d3a64..3f13cd3dc1 100644
--- a/fpdfsdk/javascript/cjs_context.cpp
+++ b/fpdfsdk/javascript/cjs_context.cpp
@@ -21,8 +21,8 @@ CPDFSDK_Document* CJS_Context::GetReaderDocument() {
return m_pRuntime->GetReaderDocument();
}
-CPDFSDK_Environment* CJS_Context::GetReaderApp() {
- return m_pRuntime->GetReaderApp();
+CPDFSDK_Environment* CJS_Context::GetReaderEnv() {
+ return m_pRuntime->GetReaderEnv();
}
FX_BOOL CJS_Context::RunScript(const CFX_WideString& script,