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

Unified Diff: core/src/fpdfapi/fpdf_font/font_int.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/src/fpdfapi/fpdf_font/common.h ('k') | core/src/fpdfapi/fpdf_font/fpdf_font.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fpdfapi/fpdf_font/font_int.h
diff --git a/core/src/fpdfapi/fpdf_font/font_int.h b/core/src/fpdfapi/fpdf_font/font_int.h
index 697ccffafd26e1845e34376fbd31bb4fa1a2ff6f..1e52607d9844528c5ddd6ea90e6db99e159b4890 100644
--- a/core/src/fpdfapi/fpdf_font/font_int.h
+++ b/core/src/fpdfapi/fpdf_font/font_int.h
@@ -48,8 +48,8 @@ private:
};
struct _CMap_CodeRange {
int m_CharSize;
- FX_BYTE m_Lower[4];
- FX_BYTE m_Upper[4];
+ uint8_t m_Lower[4];
+ uint8_t m_Upper[4];
};
class CPDF_CMapParser
{
@@ -113,7 +113,7 @@ protected:
int m_Charset, m_Coding;
CodingScheme m_CodingScheme;
int m_nCodeRanges;
- FX_BYTE* m_pLeadingBytes;
+ uint8_t* m_pLeadingBytes;
FX_WORD* m_pMapping;
FX_LPBYTE m_pAddMapping;
FX_BOOL m_bLoaded;
@@ -128,13 +128,13 @@ public:
int m_Coding;
CPDF_CMap::CodingScheme m_CodingScheme;
FX_DWORD m_LeadingSegCount;
- FX_BYTE m_LeadingSegs[4];
+ uint8_t m_LeadingSegs[4];
};
typedef struct _FileHeader {
- FX_BYTE btTag[4];
- FX_BYTE btVersion;
- FX_BYTE btFormat;
- FX_BYTE btReserved1[2];
+ uint8_t btTag[4];
+ uint8_t btVersion;
+ uint8_t btFormat;
+ uint8_t btReserved1[2];
FX_DWORD dwStartIndex;
FX_DWORD dwEndIndex;
FX_DWORD dwDataSize;
« no previous file with comments | « core/src/fpdfapi/fpdf_font/common.h ('k') | core/src/fpdfapi/fpdf_font/fpdf_font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698