diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-09 21:15:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-09 21:15:17 +0000 |
commit | 8153561249b45ba45f6e393cc081eb1101f3f7a6 (patch) | |
tree | 142c4cd8a56aa73b2874d0f6d95777ff4a9eb4c0 /core/fpdfapi/font | |
parent | 8c62883bdb9d695069a483133ddc96d5b85ec472 (diff) | |
download | pdfium-8153561249b45ba45f6e393cc081eb1101f3f7a6.tar.xz |
Do IWYU for cpdf_dictionary.h.
Move some method implementations out of headers in the process.
Change-Id: I8701e360d4addd9aec39fe887d932209985d2443
Reviewed-on: https://pdfium-review.googlesource.com/c/43608
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/font')
-rw-r--r-- | core/fpdfapi/font/cfx_stockfontarray.cpp | 3 | ||||
-rw-r--r-- | core/fpdfapi/font/cpdf_cmapmanager.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cfx_stockfontarray.cpp b/core/fpdfapi/font/cfx_stockfontarray.cpp index 3b61e11f36..0aa984dec9 100644 --- a/core/fpdfapi/font/cfx_stockfontarray.cpp +++ b/core/fpdfapi/font/cfx_stockfontarray.cpp @@ -9,9 +9,10 @@ #include <memory> #include <utility> +#include "core/fpdfapi/parser/cpdf_dictionary.h" #include "core/fxcrt/fx_memory.h" -CFX_StockFontArray::CFX_StockFontArray() {} +CFX_StockFontArray::CFX_StockFontArray() = default; CFX_StockFontArray::~CFX_StockFontArray() { for (size_t i = 0; i < FX_ArraySize(m_StockFonts); ++i) { diff --git a/core/fpdfapi/font/cpdf_cmapmanager.cpp b/core/fpdfapi/font/cpdf_cmapmanager.cpp index c33759cd11..8eebd89b30 100644 --- a/core/fpdfapi/font/cpdf_cmapmanager.cpp +++ b/core/fpdfapi/font/cpdf_cmapmanager.cpp @@ -10,6 +10,7 @@ #include "core/fpdfapi/font/cpdf_cid2unicodemap.h" #include "core/fpdfapi/font/cpdf_cmap.h" +#include "third_party/base/ptr_util.h" #include "third_party/base/stl_util.h" CPDF_CMapManager::CPDF_CMapManager() {} |