summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-02 22:38:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-02 22:38:26 +0000
commitc0a3a9b72f9bddd0b0a2b0465d961c6d9584558b (patch)
treea767f30367ae33d941eda55f24bae80aef30abd4 /xfa
parentf08dca093834baec1eb7357e4cab9fb1a14f3893 (diff)
downloadpdfium-c0a3a9b72f9bddd0b0a2b0465d961c6d9584558b.tar.xz
Remove unneeded cfgas_fontmgr.h includes.
Fix IWYU issues in affected files. Change-Id: I92c145348549d2d0f0e066e134e649b3b958e068 Reviewed-on: https://pdfium-review.googlesource.com/c/43313 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fgas/font/cfgas_gefont.h5
-rw-r--r--xfa/fwl/cfx_barcode_unittest.cpp1
-rw-r--r--xfa/fxfa/cxfa_fontmgr.h10
3 files changed, 7 insertions, 9 deletions
diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h
index 4c5d31c02d..fac6de9849 100644
--- a/xfa/fgas/font/cfgas_gefont.h
+++ b/xfa/fgas/font/cfgas_gefont.h
@@ -12,13 +12,14 @@
#include <utility>
#include <vector>
-#include "core/fxcrt/fx_memory.h"
+#include "core/fxcrt/fx_coordinates.h"
+#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/maybe_owned.h"
#include "core/fxcrt/retain_ptr.h"
#include "third_party/base/optional.h"
#include "xfa/fgas/font/cfgas_fontmgr.h"
-#include "xfa/fgas/font/cfgas_pdffontmgr.h"
+class CFX_Font;
class CFX_UnicodeEncodingEx;
class CFGAS_GEFont final : public Retainable {
diff --git a/xfa/fwl/cfx_barcode_unittest.cpp b/xfa/fwl/cfx_barcode_unittest.cpp
index 953bb1cd1f..9d8caf21f3 100644
--- a/xfa/fwl/cfx_barcode_unittest.cpp
+++ b/xfa/fwl/cfx_barcode_unittest.cpp
@@ -12,6 +12,7 @@
#include "core/fxcrt/fx_string.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "core/fxge/cfx_renderdevice.h"
+#include "core/fxge/dib/cfx_dibitmap.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/test_support.h"
#include "testing/utils/bitmap_saver.h"
diff --git a/xfa/fxfa/cxfa_fontmgr.h b/xfa/fxfa/cxfa_fontmgr.h
index e7bc0d958f..c009598e06 100644
--- a/xfa/fxfa/cxfa_fontmgr.h
+++ b/xfa/fxfa/cxfa_fontmgr.h
@@ -9,15 +9,11 @@
#include <map>
-#include "core/fxcrt/fx_extension.h"
-#include "core/fxcrt/fx_system.h"
-#include "core/fxcrt/retain_ptr.h"
+#include "core/fxcrt/fx_string.h"
#include "xfa/fgas/font/cfgas_defaultfontmanager.h"
-#include "xfa/fgas/font/cfgas_fontmgr.h"
-#include "xfa/fgas/font/cfgas_pdffontmgr.h"
-#include "xfa/fxfa/fxfa.h"
-class CPDF_Font;
+class CFGAS_GEFont;
+class CXFA_FFDoc;
class CXFA_FontMgr {
public: