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

Unified Diff: core/fxge/cfx_fontmapper.h

Issue 2477443002: Remove FX_BOOL from core (Closed)
Patch Set: Created 4 years, 1 month 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/cfx_facecache.h ('k') | core/fxge/cfx_fontmgr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/cfx_fontmapper.h
diff --git a/core/fxge/cfx_fontmapper.h b/core/fxge/cfx_fontmapper.h
index e59966a5300cb9820c9efa6ee3c9b1c267fc5274..fa3bc02eb0c5cd5de00209e474987acbfcfd4b5e 100644
--- a/core/fxge/cfx_fontmapper.h
+++ b/core/fxge/cfx_fontmapper.h
@@ -26,7 +26,7 @@ class CFX_FontMapper {
void LoadInstalledFonts();
FXFT_Face FindSubstFont(const CFX_ByteString& face_name,
- FX_BOOL bTrueType,
+ bool bTrueType,
uint32_t flags,
int weight,
int italic_angle,
@@ -38,7 +38,7 @@ class CFX_FontMapper {
int weight,
int italic_angle);
#endif // PDF_ENABLE_XFA
- FX_BOOL IsBuiltinFace(const FXFT_Face face) const;
+ bool IsBuiltinFace(const FXFT_Face face) const;
int GetFaceSize() const;
CFX_ByteString GetFaceName(int index) const {
return m_FaceArray[index].name;
@@ -65,7 +65,7 @@ class CFX_FontMapper {
FXFT_Face GetCachedFace(void* hFont,
CFX_ByteString SubstName,
int weight,
- FX_BOOL bItalic,
+ bool bItalic,
uint32_t font_size);
struct FaceData {
@@ -73,7 +73,7 @@ class CFX_FontMapper {
uint32_t charset;
};
- FX_BOOL m_bListLoaded;
+ bool m_bListLoaded;
FXFT_Face m_MMFaces[MM_FACE_COUNT];
CFX_ByteString m_LastFamily;
std::vector<FaceData> m_FaceArray;
« no previous file with comments | « core/fxge/cfx_facecache.h ('k') | core/fxge/cfx_fontmgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698