FX_CMapDwordToDword considered harmful.
authorTom Sepez <tsepez@chromium.org>
Tue, 18 Aug 2015 16:20:29 +0000 (09:20 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 18 Aug 2015 16:20:29 +0000 (09:20 -0700)
commit85d5c4af4a9546970b34dd413c473d10fef8534b
treeb993a0309a69b5c31c122971be04d062e3ae341c
parent57207efd5f17ec63e174061ea5415afb58516fce
FX_CMapDwordToDword considered harmful.

Lookups are log(n), but random insertions could result in n^2
behaviour.  Replace with maps and sets.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1289703003 .
core/include/fxcrt/fx_basic.h
core/src/fpdfapi/fpdf_font/font_int.h
core/src/fpdfapi/fpdf_font/fpdf_font.cpp
core/src/fpdfapi/fpdf_font/ttgsubtable.cpp
core/src/fpdfapi/fpdf_font/ttgsubtable.h
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
core/src/fxcrt/fx_basic_maps.cpp