summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-18 12:10:49 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-18 12:10:49 -0700
commite7b2853a4143137803609fe96330d7924c1731ed (patch)
treeabc54132c4a402b11e6e3741fe620002b1a7ae9c /xfa/fxfa
parent501e8cdc9143d4b1bebd22e7bfdcae4368e459ee (diff)
downloadpdfium-e7b2853a4143137803609fe96330d7924c1731ed.tar.xz
Remove Release() from CXFA_WidgetAccIterator
Review-Url: https://codereview.chromium.org/1990793004
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/include/xfa_ffdocview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/include/xfa_ffdocview.h b/xfa/fxfa/include/xfa_ffdocview.h
index 473b820def..0210d2a4ff 100644
--- a/xfa/fxfa/include/xfa_ffdocview.h
+++ b/xfa/fxfa/include/xfa_ffdocview.h
@@ -145,12 +145,12 @@ class CXFA_FFDocWidgetIterator : public IXFA_WidgetIterator {
CXFA_FFDocView* m_pDocView;
CXFA_FFWidget* m_pCurWidget;
};
+
class CXFA_WidgetAccIterator {
public:
CXFA_WidgetAccIterator(CXFA_FFDocView* pDocView, CXFA_Node* pTravelRoot);
~CXFA_WidgetAccIterator();
- void Release() { delete this; }
void Reset();
CXFA_WidgetAcc* MoveToFirst();
CXFA_WidgetAcc* MoveToLast();