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

Unified Diff: core/fpdfapi/fpdf_font/cpdf_simplefont.h

Issue 2368693002: Remove FX_BOOL from cpdf_font (Closed)
Patch Set: And again Created 4 years, 3 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
Index: core/fpdfapi/fpdf_font/cpdf_simplefont.h
diff --git a/core/fpdfapi/fpdf_font/cpdf_simplefont.h b/core/fpdfapi/fpdf_font/cpdf_simplefont.h
index 59eb9be012e67947f3caa5218c57655f57dd3e64..40a4baeeb8a646fa91e4bbc9515daf251335d24a 100644
--- a/core/fpdfapi/fpdf_font/cpdf_simplefont.h
+++ b/core/fpdfapi/fpdf_font/cpdf_simplefont.h
@@ -23,7 +23,7 @@ class CPDF_SimpleFont : public CPDF_Font {
int GetCharWidthF(uint32_t charcode, int level = 0) override;
FX_RECT GetCharBBox(uint32_t charcode, int level = 0) override;
int GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) override;
- FX_BOOL IsUnicodeCompatible() const override;
+ bool IsUnicodeCompatible() const override;
CFX_WideString UnicodeFromCharCode(uint32_t charcode) const override;
uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const override;
@@ -32,7 +32,7 @@ class CPDF_SimpleFont : public CPDF_Font {
protected:
virtual void LoadGlyphMap() = 0;
- FX_BOOL LoadCommon();
+ bool LoadCommon();
void LoadSubstFont();
void LoadCharMetrics(int charcode);

Powered by Google App Engine
This is Rietveld 408576698