Index: fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h |
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h |
index 999d44586ce8be63562a232728961c6ed4550a6f..6056e22b79fc2eef1b0805cb7f08402b0e367705 100644 |
--- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h |
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h |
@@ -10,12 +10,12 @@ |
#include "public/fpdfview.h" |
#include "xfa/fxfa/fxfa.h" |
-class CPDFXFA_Document; |
+class CPDFXFA_Context; |
class IJS_Context; |
class CPDFXFA_DocEnvironment : public IXFA_DocEnvironment { |
public: |
- CPDFXFA_DocEnvironment(CPDFXFA_Document*); |
+ CPDFXFA_DocEnvironment(CPDFXFA_Context*); |
~CPDFXFA_DocEnvironment() override; |
// IXFA_DocEnvironment |
@@ -105,7 +105,7 @@ class CPDFXFA_DocEnvironment : public IXFA_DocEnvironment { |
FPDF_DWORD flag); |
void ToXFAContentFlags(CFX_WideString csSrcContent, FPDF_DWORD& flag); |
- CPDFXFA_Document* const m_pDocument; // Not owned; |
+ CPDFXFA_Context* const m_pContext; // Not owned; |
IJS_Context* m_pJSContext; |
}; |