From 55dd8546ebc365b3778b40ba9d82879f581503e1 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 24 Nov 2015 13:31:52 -0800 Subject: Add "Underlying types" to master. Change some master code to line up better with XFA, so that the XFA changes are additive when possible, rather than replacements. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1468253005 . --- fpdfsdk/src/fsdk_baseannot.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fpdfsdk/src/fsdk_baseannot.cpp') diff --git a/fpdfsdk/src/fsdk_baseannot.cpp b/fpdfsdk/src/fsdk_baseannot.cpp index 8cd3df97c0..e124ace2a3 100644 --- a/fpdfsdk/src/fsdk_baseannot.cpp +++ b/fpdfsdk/src/fsdk_baseannot.cpp @@ -976,6 +976,10 @@ void CPDFSDK_BAAnnot::Annot_OnDraw(CFX_RenderDevice* pDevice, return; } +UnderlyingPageType* CPDFSDK_Annot::GetUnderlyingPage() { + return GetPDFPage(); +} + CPDF_Page* CPDFSDK_Annot::GetPDFPage() { if (m_pPageView) return m_pPageView->GetPDFPage(); -- cgit v1.2.3