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

Unified Diff: core/fxge/android/fpf_skiafont.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/fxge/agg/fx_agg_driver.cpp ('k') | core/fxge/android/fpf_skiafont.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/android/fpf_skiafont.h
diff --git a/core/fxge/android/fpf_skiafont.h b/core/fxge/android/fpf_skiafont.h
index d077f386069b1f8c33bee2822d0b592b41bce29f..9e35c942d349c749c1437eb3c599504ae8f9f51b 100644
--- a/core/fxge/android/fpf_skiafont.h
+++ b/core/fxge/android/fpf_skiafont.h
@@ -27,7 +27,7 @@ class CFPF_SkiaFont : public IFPF_Font {
FPF_HFONT GetHandle() override;
CFX_ByteString GetFamilyName() override;
CFX_WideString GetPsName() override;
- FX_DWORD GetFontStyle() const override { return m_dwStyle; }
+ uint32_t GetFontStyle() const override { return m_dwStyle; }
uint8_t GetCharset() const override { return m_uCharset; }
int32_t GetGlyphIndex(FX_WCHAR wUnicode) override;
int32_t GetGlyphWidth(int32_t iGlyphIndex) override;
@@ -37,23 +37,23 @@ class CFPF_SkiaFont : public IFPF_Font {
FX_BOOL GetBBox(FX_RECT& rtBBox) override;
int32_t GetHeight() const override;
int32_t GetItalicAngle() const override;
- FX_DWORD GetFontData(FX_DWORD dwTable,
+ uint32_t GetFontData(uint32_t dwTable,
uint8_t* pBuffer,
- FX_DWORD dwSize) override;
+ uint32_t dwSize) override;
FX_BOOL InitFont(CFPF_SkiaFontMgr* pFontMgr,
CFPF_SkiaFontDescriptor* pFontDes,
const CFX_ByteStringC& bsFamily,
- FX_DWORD dwStyle,
+ uint32_t dwStyle,
uint8_t uCharset);
protected:
CFPF_SkiaFontMgr* m_pFontMgr;
CFPF_SkiaFontDescriptor* m_pFontDes;
FXFT_Face m_Face;
- FX_DWORD m_dwStyle;
+ uint32_t m_dwStyle;
uint8_t m_uCharset;
- FX_DWORD m_dwRefCount;
+ uint32_t m_dwRefCount;
};
#endif
« no previous file with comments | « core/fxge/agg/fx_agg_driver.cpp ('k') | core/fxge/android/fpf_skiafont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698