Index: fpdfsdk/javascript/global.cpp |
diff --git a/fpdfsdk/javascript/global.cpp b/fpdfsdk/javascript/global.cpp |
index 144b5ee42af0ed60a9edd2f610fa0311622032f0..78da7038b8a67b57a133cc1171a4b466a88de156 100644 |
--- a/fpdfsdk/javascript/global.cpp |
+++ b/fpdfsdk/javascript/global.cpp |
@@ -56,7 +56,7 @@ JSGlobalAlternate::~JSGlobalAlternate() { |
m_pGlobalData->Release(); |
} |
-void JSGlobalAlternate::Initial(CPDFSDK_Environment* pEnv) { |
+void JSGlobalAlternate::Initial(CPDFSDK_FormFillEnvironment* pEnv) { |
m_pEnv = pEnv; |
m_pGlobalData = CJS_GlobalData::GetRetainedInstance(pEnv); |
UpdateGlobalPersistentVariables(); |