summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_GlobalData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/JS_GlobalData.cpp')
-rw-r--r--fpdfsdk/javascript/JS_GlobalData.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/JS_GlobalData.cpp b/fpdfsdk/javascript/JS_GlobalData.cpp
index c07fe24741..4e3782ec20 100644
--- a/fpdfsdk/javascript/JS_GlobalData.cpp
+++ b/fpdfsdk/javascript/JS_GlobalData.cpp
@@ -40,7 +40,8 @@ CJS_GlobalData* g_pInstance = nullptr;
} // namespace
// static
-CJS_GlobalData* CJS_GlobalData::GetRetainedInstance(CPDFSDK_Environment* pApp) {
+CJS_GlobalData* CJS_GlobalData::GetRetainedInstance(
+ CPDFSDK_FormFillEnvironment* pApp) {
if (!g_pInstance) {
g_pInstance = new CJS_GlobalData();
}