Index: fpdfsdk/fpdfxfa/cpdfxfa_page.h |
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_page.h b/fpdfsdk/fpdfxfa/cpdfxfa_page.h |
index 80a183f807a167c3c827f825d40dd9da786bbb28..81f0a305c9f6470644fb82e1cbe8c6bfb1617bc3 100644 |
--- a/fpdfsdk/fpdfxfa/cpdfxfa_page.h |
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_page.h |
@@ -12,14 +12,14 @@ |
#include "core/fxcrt/fx_system.h" |
class CFX_Matrix; |
-class CPDFXFA_Document; |
+class CPDFXFA_Context; |
class CPDF_Dictionary; |
class CPDF_Page; |
class CXFA_FFPageView; |
class CPDFXFA_Page { |
public: |
- CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); |
+ CPDFXFA_Page(CPDFXFA_Context* pContext, int page_index); |
void Retain() { m_iRef++; } |
void Release() { |
@@ -29,7 +29,7 @@ class CPDFXFA_Page { |
FX_BOOL LoadPage(); |
FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict); |
- CPDFXFA_Document* GetDocument() const { return m_pDocument; } |
+ CPDFXFA_Context* GetContext() const { return m_pContext; } |
int GetPageIndex() const { return m_iPageIndex; } |
CPDF_Page* GetPDFPage() const { return m_pPDFPage.get(); } |
CXFA_FFPageView* GetXFAPageView() const { return m_pXFAPageView; } |
@@ -77,7 +77,7 @@ class CPDFXFA_Page { |
private: |
std::unique_ptr<CPDF_Page> m_pPDFPage; |
CXFA_FFPageView* m_pXFAPageView; |
- CPDFXFA_Document* const m_pDocument; |
+ CPDFXFA_Context* const m_pContext; |
const int m_iPageIndex; |
int m_iRef; |
}; |