#include "core/fxcrt/cfx_read_only_container_stream.h"Since `FixedSizeDataVector` is used by value in `AddFontCacheEntry` and `AddTTCFontCacheEntry`, and we no longer include `cfx_fontmgr.h` which previously provided it transitively, we should explicitly include `"core/fxcrt/fixed_size_data_vector.h"` here.
#include "core/fxge/cfx_gemodule.h"Since `CFX_GEModule::Get()->GetFontMgr()` was removed, you can likely remove this include as well.
#include <tuple>With `FontCacheEntry` and its maps moved, you can remove several unused includes from this file: `<array>`, `<tuple>`, `"core/fxcrt/bytestring.h"`, `"core/fxcrt/cfx_read_only_container_stream.h"`, and `"core/fxcrt/fixed_size_data_vector.h"`.
#include <array>With `kFoxitFonts` and `FontCacheEntry` moved, several includes appear to be unused now: `<array>`, `<iterator>`, `<utility>`, `"core/fxcrt/check_op.h"`, `"core/fxcrt/fixed_size_data_vector.h"`, and `"core/fxge/cfx_standardfont.h"`.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Uh, sure, I guess cfx_fontmapper_unittest.cpp can get some participation points.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Must come before |builtin_mapper_| and |face_map_|.This line should be updated in this CL and not the next CL.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Must come before |builtin_mapper_| and |face_map_|.This line should be updated in this CL and not the next CL.
Might as well switch to backticks.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
constexpr std::array<pdfium::span<const uint8_t>,Can this move straight into cfx_standardfont.cpp, instead of moving it here and immediately moving it again?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
constexpr std::array<pdfium::span<const uint8_t>,Can this move straight into cfx_standardfont.cpp, instead of moving it here and immediately moving it again?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Lei ZhangThis line should be updated in this CL and not the next CL.
Might as well switch to backticks.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Was hard to see in the grandparent CL. OK.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
9 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Refactor CFX_FontMgr and CFX_FontMapper to break circular dependency
Move font cache maps (face_map_, ttc_face_map_) and FontCacheEntry
from CFX_FontMgr to CFX_FontMapper, as they are exclusively used by
the mapper.
TAG=agy
CONV=a7eb1d9a-c49f-4737-82a1-59c7ae6d9d52
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |