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

Unified Diff: core/src/fxcodec/jbig2/JBig2_Segment.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/fxcodec/jbig2/JBig2_Page.h ('k') | core/src/fxcodec/lbmp/fx_bmp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcodec/jbig2/JBig2_Segment.h
diff --git a/core/src/fxcodec/jbig2/JBig2_Segment.h b/core/src/fxcodec/jbig2/JBig2_Segment.h
index 33ee721a1b22ca73611a9cc4cd8fac611f6b3298..fe44bc962d1edcc3b3db5317fd782be076298a2e 100644
--- a/core/src/fxcodec/jbig2/JBig2_Segment.h
+++ b/core/src/fxcodec/jbig2/JBig2_Segment.h
@@ -42,19 +42,19 @@ public:
FX_DWORD m_dwNumber;
union {
struct {
- FX_BYTE type : 6;
- FX_BYTE page_association_size : 1;
- FX_BYTE deferred_non_retain : 1;
+ uint8_t type : 6;
+ uint8_t page_association_size : 1;
+ uint8_t deferred_non_retain : 1;
} s;
- FX_BYTE c;
+ uint8_t c;
} m_cFlags;
- FX_INT32 m_nReferred_to_segment_count;
+ int32_t m_nReferred_to_segment_count;
FX_DWORD * m_pReferred_to_segment_numbers;
FX_DWORD m_dwPage_association;
FX_DWORD m_dwData_length;
FX_DWORD m_dwHeader_Length;
- FX_BYTE *m_pData;
+ uint8_t *m_pData;
JBig2_SegmentState m_State;
JBig2_ResultType m_nResultType;
union {
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Page.h ('k') | core/src/fxcodec/lbmp/fx_bmp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698