From c8493852c7a07241c18e14cb0a8d6292b1314726 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 15 Mar 2017 13:33:09 -0700 Subject: Use map of unique_ptr in cxfa_textparser. Change-Id: I005f9da5ab64558689204f23d3444cdc68f3c59b Reviewed-on: https://pdfium-review.googlesource.com/3064 Reviewed-by: dsinclair Commit-Queue: dsinclair --- xfa/fxfa/app/cxfa_textparser.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xfa/fxfa/app/cxfa_textparser.h') diff --git a/xfa/fxfa/app/cxfa_textparser.h b/xfa/fxfa/app/cxfa_textparser.h index 524f125665..29f03a8dea 100644 --- a/xfa/fxfa/app/cxfa_textparser.h +++ b/xfa/fxfa/app/cxfa_textparser.h @@ -94,10 +94,11 @@ class CXFA_TextParser { CFX_RetainPtr CreateStyle( CFDE_CSSComputedStyle* pParentStyle); - std::unique_ptr m_pSelector; - std::map m_mapXMLNodeToParseContext; bool m_bParsed; bool m_cssInitialized; + std::unique_ptr m_pSelector; + std::map> + m_mapXMLNodeToParseContext; }; #endif // XFA_FXFA_APP_CXFA_TEXTPARSER_H_ -- cgit v1.2.3