summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font/include
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-27 11:55:24 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-27 11:55:24 -0700
commit8ea3f5176aab4d6688710d9937cf38a43c14d030 (patch)
tree8e74d88332e022d89943470a09a5fa57957d7828 /core/fpdfapi/fpdf_font/include
parentc08cd7abb2069b6056ec99c8ec5b87524e45df01 (diff)
downloadpdfium-8ea3f5176aab4d6688710d9937cf38a43c14d030.tar.xz
Clean up some CPDF_Font subclasses.
Review-Url: https://codereview.chromium.org/2093313002
Diffstat (limited to 'core/fpdfapi/fpdf_font/include')
-rw-r--r--core/fpdfapi/fpdf_font/include/cpdf_font.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_font/include/cpdf_font.h b/core/fpdfapi/fpdf_font/include/cpdf_font.h
index 548283ee79..e8a7901043 100644
--- a/core/fpdfapi/fpdf_font/include/cpdf_font.h
+++ b/core/fpdfapi/fpdf_font/include/cpdf_font.h
@@ -64,8 +64,7 @@ class CPDF_Font {
virtual int CountChar(const FX_CHAR* pString, int size) const;
virtual int AppendChar(FX_CHAR* buf, uint32_t charcode) const;
virtual int GetCharSize(uint32_t charcode) const;
- virtual int GlyphFromCharCode(uint32_t charcode,
- FX_BOOL* pVertGlyph = nullptr);
+ virtual int GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) = 0;
virtual int GlyphFromCharCodeExt(uint32_t charcode);
virtual CFX_WideString UnicodeFromCharCode(uint32_t charcode) const;
virtual uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const;