summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffpageview.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-01 13:21:39 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-01 20:42:12 +0000
commit40baddef7fda756c29b813dc1fd67b28d745aa8c (patch)
treec718f1deb8a554bcbbb38f57d0de86a0219f0bff /xfa/fxfa/cxfa_ffpageview.h
parenta0a69233cafa0ec22fd6c776851e3ee069ca66bf (diff)
downloadpdfium-40baddef7fda756c29b813dc1fd67b28d745aa8c.tar.xz
Remove more |new|s, part 6chromium/3087
Change-Id: I4adbeafa7ecfd509abca08d97be132fd709e1261 Reviewed-on: https://pdfium-review.googlesource.com/4691 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffpageview.h')
-rw-r--r--xfa/fxfa/cxfa_ffpageview.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/xfa/fxfa/cxfa_ffpageview.h b/xfa/fxfa/cxfa_ffpageview.h
index df4fc6d2c1..01409f3403 100644
--- a/xfa/fxfa/cxfa_ffpageview.h
+++ b/xfa/fxfa/cxfa_ffpageview.h
@@ -7,6 +7,7 @@
#ifndef XFA_FXFA_CXFA_FFPAGEVIEW_H_
#define XFA_FXFA_CXFA_FFPAGEVIEW_H_
+#include <memory>
#include <vector>
#include "xfa/fxfa/parser/cxfa_containerlayoutitem.h"
@@ -25,18 +26,17 @@ class CXFA_FFPageView : public CXFA_ContainerLayoutItem {
CXFA_FFDocView* GetDocView() const;
CFX_RectF GetPageViewRect() const;
CFX_Matrix GetDisplayMatrix(const CFX_Rect& rtDisp, int32_t iRotate) const;
- IXFA_WidgetIterator* CreateWidgetIterator(
- uint32_t dwTraverseWay = XFA_TRAVERSEWAY_Form,
- uint32_t dwWidgetFilter = XFA_WidgetStatus_Visible |
- XFA_WidgetStatus_Viewable);
+ std::unique_ptr<IXFA_WidgetIterator> CreateWidgetIterator(
+ uint32_t dwTraverseWay,
+ uint32_t dwWidgetFilter);
protected:
CXFA_FFDocView* const m_pDocView;
};
-typedef CXFA_NodeIteratorTemplate<CXFA_LayoutItem,
- CXFA_TraverseStrategy_LayoutItem>
- CXFA_LayoutItemIterator;
+using CXFA_LayoutItemIterator =
+ CXFA_NodeIteratorTemplate<CXFA_LayoutItem,
+ CXFA_TraverseStrategy_LayoutItem>;
class CXFA_FFPageWidgetIterator : public IXFA_WidgetIterator {
public: