summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/cxfa_textparser.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-03-15 13:33:09 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-15 21:35:19 +0000
commitc8493852c7a07241c18e14cb0a8d6292b1314726 (patch)
tree9800395fee45ecc018c7218895b2c6cd61d1d0f6 /xfa/fxfa/app/cxfa_textparser.h
parent9bbc354eba593527e26ed290e3b25a71959c8f62 (diff)
downloadpdfium-c8493852c7a07241c18e14cb0a8d6292b1314726.tar.xz
Use map of unique_ptr in cxfa_textparser.
Change-Id: I005f9da5ab64558689204f23d3444cdc68f3c59b Reviewed-on: https://pdfium-review.googlesource.com/3064 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/app/cxfa_textparser.h')
-rw-r--r--xfa/fxfa/app/cxfa_textparser.h5
1 files changed, 3 insertions, 2 deletions
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<CFDE_CSSComputedStyle> CreateStyle(
CFDE_CSSComputedStyle* pParentStyle);
- std::unique_ptr<CFDE_CSSStyleSelector> m_pSelector;
- std::map<CFDE_XMLNode*, CXFA_TextParseContext*> m_mapXMLNodeToParseContext;
bool m_bParsed;
bool m_cssInitialized;
+ std::unique_ptr<CFDE_CSSStyleSelector> m_pSelector;
+ std::map<CFDE_XMLNode*, std::unique_ptr<CXFA_TextParseContext>>
+ m_mapXMLNodeToParseContext;
};
#endif // XFA_FXFA_APP_CXFA_TEXTPARSER_H_