summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_contentlayoutitem.cpp
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.cpp
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.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_contentlayoutitem.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_contentlayoutitem.cpp b/xfa/fxfa/parser/cxfa_contentlayoutitem.cpp
index e763e2d5da..b3ceb9e4f0 100644
--- a/xfa/fxfa/parser/cxfa_contentlayoutitem.cpp
+++ b/xfa/fxfa/parser/cxfa_contentlayoutitem.cpp
@@ -11,10 +11,7 @@
#include "xfa/fxfa/parser/cxfa_node.h"
CXFA_ContentLayoutItem::CXFA_ContentLayoutItem(CXFA_Node* pNode)
- : CXFA_LayoutItem(pNode, true),
- m_pPrev(nullptr),
- m_pNext(nullptr),
- m_dwStatus(0) {}
+ : CXFA_LayoutItem(pNode, kContentItem) {}
CXFA_ContentLayoutItem::~CXFA_ContentLayoutItem() {
if (m_pFormNode->JSObject()->GetLayoutItem() == this)