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

Unified Diff: core/fpdfapi/fpdf_font/cpdf_simplefont.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/fpdfapi/fpdf_font/cpdf_fontencoding.cpp ('k') | core/fpdfapi/fpdf_font/cpdf_simplefont.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19d6816c9f52e9f8b6473fb91b3db9f36c38807e..7b07c9971ea44457203906488ea7ec65825b9bb7 100644
--- a/core/fpdfapi/fpdf_font/cpdf_simplefont.h
+++ b/core/fpdfapi/fpdf_font/cpdf_simplefont.h
@@ -18,12 +18,12 @@ class CPDF_SimpleFont : public CPDF_Font {
virtual ~CPDF_SimpleFont();
// CPDF_Font:
- int GetCharWidthF(FX_DWORD charcode, int level = 0) override;
- FX_RECT GetCharBBox(FX_DWORD charcode, int level = 0) override;
- int GlyphFromCharCode(FX_DWORD charcode, FX_BOOL* pVertGlyph = NULL) override;
+ int GetCharWidthF(uint32_t charcode, int level = 0) override;
+ FX_RECT GetCharBBox(uint32_t charcode, int level = 0) override;
+ int GlyphFromCharCode(uint32_t charcode, FX_BOOL* pVertGlyph = NULL) override;
FX_BOOL IsUnicodeCompatible() const override;
- CFX_WideString UnicodeFromCharCode(FX_DWORD charcode) const override;
- FX_DWORD CharCodeFromUnicode(FX_WCHAR Unicode) const override;
+ CFX_WideString UnicodeFromCharCode(uint32_t charcode) const override;
+ uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const override;
CPDF_FontEncoding* GetEncoding() { return &m_Encoding; }
« no previous file with comments | « core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp ('k') | core/fpdfapi/fpdf_font/cpdf_simplefont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698