summaryrefslogtreecommitdiff
path: root/fpdfsdk/include
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-08-25 16:20:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-25 16:20:55 -0700
commit9b57ec9ff50aeab53cf3f028222f69c78840385d (patch)
treed065bb2bf1cc3e7fdbfeaa3ee8d32b21b1481994 /fpdfsdk/include
parent0dbf17813ae6ebd9780062e95841853cb916f40c (diff)
downloadpdfium-9b57ec9ff50aeab53cf3f028222f69c78840385d.tar.xz
Clean up CPDFSDK_PageView methods.
This CL cleans up CPDFSDK_PageView::LoadFXAnnots and nits. Review-Url: https://codereview.chromium.org/2279563005
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r--fpdfsdk/include/fsdk_mgr.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h
index a0adf04823..2892407f3f 100644
--- a/fpdfsdk/include/fsdk_mgr.h
+++ b/fpdfsdk/include/fsdk_mgr.h
@@ -569,11 +569,9 @@ class CPDFSDK_PageView final : public CPDF_Page::View {
CPDFSDK_Annot* AddAnnot(CXFA_FFWidget* pPDFAnnot);
CPDFSDK_Annot* GetAnnotByXFAWidget(CXFA_FFWidget* hWidget);
CPDFXFA_Page* GetPDFXFAPage() { return m_page; }
- CPDF_Page* GetPDFPage();
-#else
- CPDF_Page* GetPDFPage() { return m_page; }
#endif // PDF_ENABLE_XFA
+ CPDF_Page* GetPDFPage() const;
CPDF_Document* GetPDFDocument();
CPDFSDK_Document* GetSDKDocument() { return m_pSDKDoc; }
FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_UINT nFlag);