summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffpageview.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-03 14:13:53 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-03 14:13:53 +0000
commitd77e0ed72f73fb63305d04953ef03e2edab82d34 (patch)
tree0ed74aad3deaff8447733cae91b4d4ceaf075941 /xfa/fxfa/cxfa_ffpageview.h
parent7b10bb9c50d183caffc2f4481e249eb3cf763d5f (diff)
downloadpdfium-d77e0ed72f73fb63305d04953ef03e2edab82d34.tar.xz
Use more UnownedPtr<> in cfxa_ffpageview
Change-Id: Ifdb9fb23d61082b7c1b9b93c057e0881959cea2a Reviewed-on: https://pdfium-review.googlesource.com/36530 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffpageview.h')
-rw-r--r--xfa/fxfa/cxfa_ffpageview.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_ffpageview.h b/xfa/fxfa/cxfa_ffpageview.h
index 10dac26b92..f3ae069638 100644
--- a/xfa/fxfa/cxfa_ffpageview.h
+++ b/xfa/fxfa/cxfa_ffpageview.h
@@ -54,8 +54,8 @@ class CXFA_FFPageWidgetIterator : public IXFA_WidgetIterator {
protected:
CXFA_FFWidget* GetWidget(CXFA_LayoutItem* pLayoutItem);
- CXFA_FFPageView* m_pPageView;
- CXFA_FFWidget* m_hCurWidget;
+ UnownedPtr<CXFA_FFPageView> m_pPageView;
+ UnownedPtr<CXFA_FFWidget> m_hCurWidget;
uint32_t m_dwFilter;
bool m_bIgnorerelevant;
CXFA_LayoutItemIterator m_sIterator;
@@ -104,8 +104,8 @@ class CXFA_FFTabOrderPageWidgetIterator : public IXFA_WidgetIterator {
bool& bContentArea,
bool bMarsterPage = false);
- std::vector<CXFA_FFWidget*> m_TabOrderWidgetArray;
- CXFA_FFPageView* m_pPageView;
+ std::vector<UnownedPtr<CXFA_FFWidget>> m_TabOrderWidgetArray;
+ UnownedPtr<CXFA_FFPageView> m_pPageView;
uint32_t m_dwFilter;
int32_t m_iCurWidget;
bool m_bIgnorerelevant;