diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-04-26 10:55:54 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-26 20:07:23 +0000 |
commit | e47e0c96009b8633294eebbb9eb0e84caf525c57 (patch) | |
tree | 093c0edb121e54c22e40a704ce473eb48491ccfc /xfa/fxfa/parser/cxfa_document.cpp | |
parent | 2e2a4fcd43677c5882dcf00cb4b99635cb2cfcd3 (diff) | |
download | pdfium-e47e0c96009b8633294eebbb9eb0e84caf525c57.tar.xz |
Avoid unordered_set and maps for the time being.chromium/3082
See discussion at
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/rdxOHKzQmRY
Change-Id: I1803ae97c39b592001835814e2f6674b2c7cb3ea
Reviewed-on: https://pdfium-review.googlesource.com/4531
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_document.cpp b/xfa/fxfa/parser/cxfa_document.cpp index 4b0a398ae2..a1180e7b8e 100644 --- a/xfa/fxfa/parser/cxfa_document.cpp +++ b/xfa/fxfa/parser/cxfa_document.cpp @@ -345,7 +345,7 @@ void CXFA_Document::DoProtoMerge() { return; std::map<uint32_t, CXFA_Node*> mIDMap; - std::unordered_set<CXFA_Node*> sUseNodes; + std::set<CXFA_Node*> sUseNodes; CXFA_NodeIterator sIterator(pTemplateRoot); for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; pNode = sIterator.MoveToNext()) { |