From d3be111cac2bb20e1917b3fae2102e742bb7efdb Mon Sep 17 00:00:00 2001 From: thestig Date: Wed, 8 Jun 2016 06:11:20 -0700 Subject: Fix GetPageIndex() for dynamic XFA documents. BUG=614211 Review-Url: https://codereview.chromium.org/2045013004 --- xfa/fxfa/app/xfa_ffpageview.cpp | 4 ---- xfa/fxfa/include/xfa_ffpageview.h | 1 - 2 files changed, 5 deletions(-) (limited to 'xfa') diff --git a/xfa/fxfa/app/xfa_ffpageview.cpp b/xfa/fxfa/app/xfa_ffpageview.cpp index 16461eb07c..bb277f46f0 100644 --- a/xfa/fxfa/app/xfa_ffpageview.cpp +++ b/xfa/fxfa/app/xfa_ffpageview.cpp @@ -102,10 +102,6 @@ CXFA_FFDocView* CXFA_FFPageView::GetDocView() const { return m_pDocView; } -int32_t CXFA_FFPageView::GetPageViewIndex() const { - return GetPageIndex(); -} - void CXFA_FFPageView::GetPageViewRect(CFX_RectF& rtPage) const { CFX_SizeF sz; GetPageSize(sz); diff --git a/xfa/fxfa/include/xfa_ffpageview.h b/xfa/fxfa/include/xfa_ffpageview.h index 124c8db4d2..ab98d54e62 100644 --- a/xfa/fxfa/include/xfa_ffpageview.h +++ b/xfa/fxfa/include/xfa_ffpageview.h @@ -18,7 +18,6 @@ class CXFA_FFPageView : public CXFA_ContainerLayoutItem { ~CXFA_FFPageView() override; CXFA_FFDocView* GetDocView() const; - int32_t GetPageViewIndex() const; void GetPageViewRect(CFX_RectF& rtPage) const; void GetDisplayMatrix(CFX_Matrix& mt, const CFX_Rect& rtDisp, -- cgit v1.2.3