Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1581)

Unified Diff: core/fxge/android/fpf_skiafontmgr.h

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxge/android/fpf_skiafont.cpp ('k') | core/fxge/android/fpf_skiafontmgr.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/android/fpf_skiafontmgr.h
diff --git a/core/fxge/android/fpf_skiafontmgr.h b/core/fxge/android/fpf_skiafontmgr.h
index 5ba5b16475901ca8eff6ec9bd5bd22cf9c2bf408..5ed409cccce96b9b8f5e35c20747e2424745d134 100644
--- a/core/fxge/android/fpf_skiafontmgr.h
+++ b/core/fxge/android/fpf_skiafontmgr.h
@@ -44,9 +44,9 @@ class CFPF_SkiaFontDescriptor {
m_pFamily[iSize] = 0;
}
FX_CHAR* m_pFamily;
- FX_DWORD m_dwStyle;
+ uint32_t m_dwStyle;
int32_t m_iFaceIndex;
- FX_DWORD m_dwCharsets;
+ uint32_t m_dwCharsets;
int32_t m_iGlyphNum;
};
@@ -100,8 +100,8 @@ class CFPF_SkiaFontMgr : public IFPF_FontMgr {
void LoadPrivateFont(void* pBuffer, size_t szBuffer) override;
IFPF_Font* CreateFont(const CFX_ByteStringC& bsFamilyname,
uint8_t uCharset,
- FX_DWORD dwStyle,
- FX_DWORD dwMatch = 0) override;
+ uint32_t dwStyle,
+ uint32_t dwMatch = 0) override;
FX_BOOL InitFTLibrary();
FXFT_Face GetFontFace(IFX_FileRead* pFileRead, int32_t iFaceIndex = 0);
@@ -119,7 +119,7 @@ class CFPF_SkiaFontMgr : public IFPF_FontMgr {
FX_BOOL m_bLoaded;
FXFT_Library m_FTLibrary;
std::vector<CFPF_SkiaFontDescriptor*> m_FontFaces;
- std::map<FX_DWORD, CFPF_SkiaFont*> m_FamilyFonts;
+ std::map<uint32_t, CFPF_SkiaFont*> m_FamilyFonts;
};
#endif
« no previous file with comments | « core/fxge/android/fpf_skiafont.cpp ('k') | core/fxge/android/fpf_skiafontmgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698