summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_layout_itemlayout.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-20 14:43:28 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-20 14:43:28 -0700
commit7aaaae625557f387cf7c829614e397fbf43578b6 (patch)
treedd27e3926376ee20ff7f54f18641d1f7b85287b5 /xfa/fxfa/parser/xfa_layout_itemlayout.h
parentbc34be4dbb7b11252a48110f89c46ccb01929d64 (diff)
downloadpdfium-7aaaae625557f387cf7c829614e397fbf43578b6.tar.xz
Use std::map in CXFA_ItemLayoutProcessor
BUG= Review-Url: https://codereview.chromium.org/1999883002
Diffstat (limited to 'xfa/fxfa/parser/xfa_layout_itemlayout.h')
-rw-r--r--xfa/fxfa/parser/xfa_layout_itemlayout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_layout_itemlayout.h b/xfa/fxfa/parser/xfa_layout_itemlayout.h
index 8e7032e6e0..f7376d250e 100644
--- a/xfa/fxfa/parser/xfa_layout_itemlayout.h
+++ b/xfa/fxfa/parser/xfa_layout_itemlayout.h
@@ -10,6 +10,7 @@
#include <float.h>
#include <list>
+#include <map>
#include "core/fxcrt/include/fx_basic.h"
#include "xfa/fxfa/parser/xfa_doclayout.h"
@@ -182,7 +183,7 @@ class CXFA_ItemLayoutProcessor {
FX_BOOL m_bBreakPending;
CFX_ArrayTemplate<FX_FLOAT> m_rgSpecifiedColumnWidths;
CFX_ArrayTemplate<CXFA_ContentLayoutItem*> m_arrayKeepItems;
- CFX_MapPtrToPtr m_PendingNodesCount;
+ std::map<CXFA_Node*, int32_t> m_PendingNodesCount;
FX_FLOAT m_fLastRowWidth;
FX_FLOAT m_fLastRowY;
FX_FLOAT m_fWidthLimite;