From 8d2aae7ee320da3a8ffe01c57e38b3f98443257d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 27 Jul 2015 12:08:12 -0700 Subject: Revert "FX Bool considered harmful, part 3" This reverts commit ff46aaf499edcf153ee2f57c7016587aa96dcfa0. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1255293002 . --- core/src/fxge/ge/text_int.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/src/fxge/ge/text_int.h') diff --git a/core/src/fxge/ge/text_int.h b/core/src/fxge/ge/text_int.h index 2e861baf1b..12fac6a60a 100644 --- a/core/src/fxge/ge/text_int.h +++ b/core/src/fxge/ge/text_int.h @@ -32,12 +32,12 @@ public: m_RefCount = 0; } ~CTTFontDesc(); - bool ReleaseFace(FXFT_Face face); + FX_BOOL ReleaseFace(FXFT_Face face); int m_Type; union { struct { - bool m_bItalic; - bool m_bBold; + FX_BOOL m_bItalic; + FX_BOOL m_bBold; FXFT_Face m_pFace; } m_SingleFace; struct { @@ -63,9 +63,9 @@ private: { return Unicode; } - virtual bool IsUnicodeCompatible() const + virtual FX_BOOL IsUnicodeCompatible() const { - return true; + return TRUE; } }; #define CHARSET_FLAG_ANSI 1 @@ -97,7 +97,7 @@ public: FX_DWORD m_FileSize; FX_DWORD m_FontOffset; int m_Weight; - bool m_bItalic; + FX_BOOL m_bItalic; int m_PitchFamily; CFX_ByteString m_FontTables; }; -- cgit v1.2.3