From b5e8f14e3eefc5da995b332788d3203cee204883 Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 25 Mar 2016 15:18:35 -0700 Subject: Remove FX_DWORD from core/ and delete definition Review URL: https://codereview.chromium.org/1832173003 --- core/fxcodec/jbig2/JBig2_Context.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/fxcodec/jbig2/JBig2_Context.h') diff --git a/core/fxcodec/jbig2/JBig2_Context.h b/core/fxcodec/jbig2/JBig2_Context.h index aff3b1bb38..4a32e61489 100644 --- a/core/fxcodec/jbig2/JBig2_Context.h +++ b/core/fxcodec/jbig2/JBig2_Context.h @@ -23,7 +23,7 @@ class CPDF_StreamAcc; class IFX_Pause; // Cache is keyed by the ObjNum of a stream and an index within the stream. -using CJBig2_CacheKey = std::pair; +using CJBig2_CacheKey = std::pair; // NB: CJBig2_SymbolDict* is owned. using CJBig2_CachePair = std::pair; @@ -74,7 +74,7 @@ class CJBig2_Context { int32_t decode_RandomOrgnazation(IFX_Pause* pPause); - CJBig2_Segment* findSegmentByNumber(FX_DWORD dwNumber); + CJBig2_Segment* findSegmentByNumber(uint32_t dwNumber); CJBig2_Segment* findReferredSegmentByTypeAndIndex(CJBig2_Segment* pSegment, uint8_t cType, @@ -103,7 +103,7 @@ class CJBig2_Context { int32_t parseRegionInfo(JBig2RegionInfo* pRI); JBig2HuffmanCode* decodeSymbolIDHuffmanTable(CJBig2_BitStream* pStream, - FX_DWORD SBNUMSYMS); + uint32_t SBNUMSYMS); void huffman_assign_code(int* CODES, int* PREFLEN, int NTEMP); @@ -125,7 +125,7 @@ class CJBig2_Context { std::unique_ptr m_pGRD; JBig2ArithCtx* m_gbContext; std::unique_ptr m_pSegment; - FX_DWORD m_dwOffset; + uint32_t m_dwOffset; JBig2RegionInfo m_ri; std::list* const m_pSymbolDictCache; bool m_bIsGlobal; -- cgit v1.2.3