summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_page.h')
-rw-r--r--core/fpdfapi/page/cpdf_page.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/page/cpdf_page.h b/core/fpdfapi/page/cpdf_page.h
index c26c42fc1f..28a12f45b5 100644
--- a/core/fpdfapi/page/cpdf_page.h
+++ b/core/fpdfapi/page/cpdf_page.h
@@ -65,7 +65,7 @@ class CPDF_Page : public CPDF_PageObjectHolder {
void SetRenderContext(std::unique_ptr<CPDF_PageRenderContext> pContext);
CPDF_Document* GetPDFDocument() const { return m_pPDFDocument.Get(); }
- View* GetView() const { return m_pView; }
+ View* GetView() const { return m_pView.Get(); }
void SetView(View* pView) { m_pView = pView; }
Extension* GetPageExtension() const { return m_pPageExtension.Get(); }
void SetPageExtension(Extension* pExt) { m_pPageExtension = pExt; }
@@ -78,11 +78,11 @@ class CPDF_Page : public CPDF_PageObjectHolder {
CFX_SizeF m_PageSize;
CFX_Matrix m_PageMatrix;
- View* m_pView = nullptr;
- UnownedPtr<Extension> m_pPageExtension;
UnownedPtr<CPDF_Document> m_pPDFDocument;
+ UnownedPtr<Extension> m_pPageExtension;
std::unique_ptr<CPDF_PageRenderCache> m_pPageRender;
std::unique_ptr<CPDF_PageRenderContext> m_pRenderContext;
+ UnownedPtr<View> m_pView;
};
#endif // CORE_FPDFAPI_PAGE_CPDF_PAGE_H_