summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_contentlayoutitem.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-30 22:07:22 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-30 22:07:22 +0000
commitb53ef1e52d40f586c401a7e3948259f8ebbfd3cc (patch)
tree23a55140c7bee634f40ff30f8370c0aaa32002de /xfa/fxfa/parser/cxfa_contentlayoutitem.h
parent87c1fdcc9a5669e29c4440e2b220587de7134e7a (diff)
downloadpdfium-b53ef1e52d40f586c401a7e3948259f8ebbfd3cc.tar.xz
Replace m_bIsContentLayoutItem with proper enum for type.
Because bools are bogus. Change-Id: I54a2627443784cec40912288230e657c63a35408 Reviewed-on: https://pdfium-review.googlesource.com/39190 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_contentlayoutitem.h')
-rw-r--r--xfa/fxfa/parser/cxfa_contentlayoutitem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_contentlayoutitem.h b/xfa/fxfa/parser/cxfa_contentlayoutitem.h
index c7c440f9c2..fc91f3bcca 100644
--- a/xfa/fxfa/parser/cxfa_contentlayoutitem.h
+++ b/xfa/fxfa/parser/cxfa_contentlayoutitem.h
@@ -23,11 +23,11 @@ class CXFA_ContentLayoutItem : public CXFA_LayoutItem {
int32_t GetIndex() const;
int32_t GetCount() const;
- CXFA_ContentLayoutItem* m_pPrev;
- CXFA_ContentLayoutItem* m_pNext;
+ CXFA_ContentLayoutItem* m_pPrev = nullptr;
+ CXFA_ContentLayoutItem* m_pNext = nullptr;
CFX_PointF m_sPos;
CFX_SizeF m_sSize;
- mutable uint32_t m_dwStatus;
+ mutable uint32_t m_dwStatus = 0;
};
inline CXFA_ContentLayoutItem* ToContentLayoutItem(CXFA_LayoutItem* pItem) {