From e421d384ca88046c989991581d9abb044cddd009 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 12 Oct 2018 20:39:08 +0000 Subject: Do IWYU in xfa. Change-Id: Ia104471caffe79f92d439920baeea37a71c71c50 Reviewed-on: https://pdfium-review.googlesource.com/c/43971 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- xfa/fgas/crt/cfgas_formatstring.cpp | 1 + xfa/fgas/crt/cfgas_formatstring.h | 3 ++- xfa/fgas/font/cfgas_fontmgr.h | 1 + xfa/fgas/font/cfgas_pdffontmgr.h | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) (limited to 'xfa/fgas') diff --git a/xfa/fgas/crt/cfgas_formatstring.cpp b/xfa/fgas/crt/cfgas_formatstring.cpp index e5ac01416d..b31c33022e 100644 --- a/xfa/fgas/crt/cfgas_formatstring.cpp +++ b/xfa/fgas/crt/cfgas_formatstring.cpp @@ -12,6 +12,7 @@ #include "core/fxcrt/cfx_decimal.h" #include "core/fxcrt/fx_extension.h" +#include "xfa/fxfa/parser/cxfa_localemgr.h" #define FX_LOCALECATEGORY_DateHash 0xbde9abde #define FX_LOCALECATEGORY_TimeHash 0x2d71b00f diff --git a/xfa/fgas/crt/cfgas_formatstring.h b/xfa/fgas/crt/cfgas_formatstring.h index 4fdc39df0c..0c51ef33b6 100644 --- a/xfa/fgas/crt/cfgas_formatstring.h +++ b/xfa/fgas/crt/cfgas_formatstring.h @@ -11,7 +11,8 @@ #include "core/fxcrt/locale_iface.h" #include "core/fxcrt/unowned_ptr.h" -#include "xfa/fxfa/parser/cxfa_localemgr.h" + +class CXFA_LocaleMgr; bool FX_DateFromCanonical(const WideString& wsDate, CFX_DateTime* datetime); bool FX_TimeFromCanonical(const WideStringView& wsTime, diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h index 0fd46c451e..2bda20ceb1 100644 --- a/xfa/fgas/font/cfgas_fontmgr.h +++ b/xfa/fgas/font/cfgas_fontmgr.h @@ -23,6 +23,7 @@ class CFGAS_GEFont; class CFX_FontMapper; class CFX_FontSourceEnum_File; +class IFX_SeekableReadStream; #if _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ struct FX_FONTMATCHPARAMS { diff --git a/xfa/fgas/font/cfgas_pdffontmgr.h b/xfa/fgas/font/cfgas_pdffontmgr.h index b6ce472fca..08d91c8ae1 100644 --- a/xfa/fgas/font/cfgas_pdffontmgr.h +++ b/xfa/fgas/font/cfgas_pdffontmgr.h @@ -9,7 +9,6 @@ #include -#include "core/fpdfapi/parser/cpdf_document.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/observable.h" #include "core/fxcrt/retain_ptr.h" -- cgit v1.2.3