summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fpdfapi/page/cpdf_page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_page.h b/core/fpdfapi/page/cpdf_page.h
index 4e8172db17..47c5ed94f5 100644
--- a/core/fpdfapi/page/cpdf_page.h
+++ b/core/fpdfapi/page/cpdf_page.h
@@ -59,7 +59,7 @@ class CPDF_Page : public CPDF_PageObjectHolder {
}
void SetRenderContext(std::unique_ptr<CPDF_PageRenderContext> pContext);
- void* GetPDFDocument() const { return m_pPDFDocument.Get(); }
+ CPDF_Document* GetPDFDocument() const { return m_pPDFDocument.Get(); }
View* GetView() const { return m_pView; }
void SetView(View* pView) { m_pView = pView; }
Extension* GetPageExtension() const { return m_pPageExtension.Get(); }