summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_containerlayoutitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_containerlayoutitem.h')
-rw-r--r--xfa/fxfa/parser/cxfa_containerlayoutitem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_containerlayoutitem.h b/xfa/fxfa/parser/cxfa_containerlayoutitem.h
index 3c8a8afa22..4a02333ef5 100644
--- a/xfa/fxfa/parser/cxfa_containerlayoutitem.h
+++ b/xfa/fxfa/parser/cxfa_containerlayoutitem.h
@@ -12,13 +12,14 @@
class CXFA_ContainerLayoutItem : public CXFA_LayoutItem {
public:
explicit CXFA_ContainerLayoutItem(CXFA_Node* pNode);
+ ~CXFA_ContainerLayoutItem() override;
CXFA_LayoutProcessor* GetLayout() const;
int32_t GetPageIndex() const;
CFX_SizeF GetPageSize() const;
CXFA_Node* GetMasterPage() const;
- CXFA_Node* m_pOldSubform;
+ UnownedPtr<CXFA_Node> m_pOldSubform;
};
inline CXFA_ContainerLayoutItem* ToContainerLayoutItem(CXFA_LayoutItem* pItem) {