Convert int to size_t in fpdf_sysfontinfo.cpp
Then widen all the way down into called functions.
-- Fix some pre-existing IWYU.
-- Make one format specifier unsigned
Change-Id: I5014420e94dc6f716185458791574b9eac59f470
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/91130
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fxge/cfx_fontmapper.h b/core/fxge/cfx_fontmapper.h
index 183e59c..2ad6c3e 100644
--- a/core/fxge/cfx_fontmapper.h
+++ b/core/fxge/cfx_fontmapper.h
@@ -98,13 +98,13 @@
int weight,
int pitch_family);
RetainPtr<CFX_Face> GetCachedTTCFace(void* hFont,
- uint32_t ttc_size,
- uint32_t font_size);
+ size_t ttc_size,
+ size_t data_size);
RetainPtr<CFX_Face> GetCachedFace(void* hFont,
ByteString SubstName,
int weight,
bool bItalic,
- uint32_t font_size);
+ size_t data_size);
struct FaceData {
ByteString name;