Index: fpdfsdk/javascript/global.h |
diff --git a/fpdfsdk/javascript/global.h b/fpdfsdk/javascript/global.h |
index 6a104be60f2cd9c1bb57b2f90d19eb1ccaa263d5..6240fbfd4f2ca2f7647b0c7a2a724cd8e0889341 100644 |
--- a/fpdfsdk/javascript/global.h |
+++ b/fpdfsdk/javascript/global.h |
@@ -47,7 +47,7 @@ class JSGlobalAlternate : public CJS_EmbedObj { |
FX_BOOL DelProperty(IJS_Context* cc, |
const FX_WCHAR* propname, |
CFX_WideString& sError); |
- void Initial(CPDFSDK_Environment* pEnv); |
+ void Initial(CPDFSDK_FormFillEnvironment* pEnv); |
private: |
void UpdateGlobalPersistentVariables(); |
@@ -68,7 +68,7 @@ class JSGlobalAlternate : public CJS_EmbedObj { |
std::map<CFX_ByteString, JSGlobalData*> m_mapGlobal; |
CFX_WideString m_sFilePath; |
CJS_GlobalData* m_pGlobalData; |
- CPDFSDK_Environment* m_pEnv; |
+ CPDFSDK_FormFillEnvironment* m_pEnv; |
}; |
class CJS_Global : public CJS_Object { |