From c0a3a9b72f9bddd0b0a2b0465d961c6d9584558b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 2 Oct 2018 22:38:26 +0000 Subject: 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 Reviewed-by: Tom Sepez --- xfa/fgas/font/cfgas_gefont.h | 5 +++-- xfa/fwl/cfx_barcode_unittest.cpp | 1 + xfa/fxfa/cxfa_fontmgr.h | 10 +++------- 3 files changed, 7 insertions(+), 9 deletions(-) (limited to 'xfa') 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 #include -#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 -#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: -- cgit v1.2.3