summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdf_annotcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdf_annotcontext.cpp')
-rw-r--r--fpdfsdk/cpdf_annotcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdf_annotcontext.cpp b/fpdfsdk/cpdf_annotcontext.cpp
index d76d5d2f8c..20c5fc343e 100644
--- a/fpdfsdk/cpdf_annotcontext.cpp
+++ b/fpdfsdk/cpdf_annotcontext.cpp
@@ -30,6 +30,6 @@ void CPDF_AnnotContext::SetForm(CPDF_Stream* pStream) {
pStream->GetDict()->SetMatrixFor("Matrix", CFX_Matrix());
m_pAnnotForm = pdfium::MakeUnique<CPDF_Form>(
- m_pPage->m_pDocument.Get(), m_pPage->m_pResources.Get(), pStream);
+ m_pPage->GetDocument(), m_pPage->m_pResources.Get(), pStream);
m_pAnnotForm->ParseContent();
}