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

Unified Diff: core/fpdfapi/fpdf_parser/cpdf_hint_tables.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_parser/cpdf_document.cpp ('k') | core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/fpdf_parser/cpdf_hint_tables.h
diff --git a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h
index f6f862fab6fb819ec97e8ec9425006323dc5f692..28ccccb6fc27f50cd4b6efd6266e60f189518de0 100644
--- a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h
+++ b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h
@@ -30,7 +30,7 @@ class CPDF_HintTables {
FX_BOOL GetPagePos(int index,
FX_FILESIZE& szPageStartPos,
FX_FILESIZE& szPageLength,
- FX_DWORD& dwObjNum);
+ uint32_t& dwObjNum);
IPDF_DataAvail::DocAvailStatus CheckPage(
int index,
@@ -40,8 +40,8 @@ class CPDF_HintTables {
protected:
FX_BOOL ReadPageHintTable(CFX_BitStream* hStream);
- FX_BOOL ReadSharedObjHintTable(CFX_BitStream* hStream, FX_DWORD offset);
- FX_DWORD GetItemLength(int index, const std::vector<FX_FILESIZE>& szArray);
+ FX_BOOL ReadSharedObjHintTable(CFX_BitStream* hStream, uint32_t offset);
+ uint32_t GetItemLength(int index, const std::vector<FX_FILESIZE>& szArray);
private:
int ReadPrimaryHintStreamOffset() const;
@@ -49,12 +49,12 @@ class CPDF_HintTables {
CPDF_Dictionary* m_pLinearizedDict;
CPDF_DataAvail* m_pDataAvail;
- FX_DWORD m_nFirstPageSharedObjs;
+ uint32_t m_nFirstPageSharedObjs;
FX_FILESIZE m_szFirstPageObjOffset;
- CFX_ArrayTemplate<FX_DWORD> m_dwDeltaNObjsArray;
- CFX_ArrayTemplate<FX_DWORD> m_dwNSharedObjsArray;
- CFX_ArrayTemplate<FX_DWORD> m_dwSharedObjNumArray;
- CFX_ArrayTemplate<FX_DWORD> m_dwIdentifierArray;
+ CFX_ArrayTemplate<uint32_t> m_dwDeltaNObjsArray;
+ CFX_ArrayTemplate<uint32_t> m_dwNSharedObjsArray;
+ CFX_ArrayTemplate<uint32_t> m_dwSharedObjNumArray;
+ CFX_ArrayTemplate<uint32_t> m_dwIdentifierArray;
std::vector<FX_FILESIZE> m_szPageOffsetArray;
std::vector<FX_FILESIZE> m_szSharedObjOffsetArray;
};
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_document.cpp ('k') | core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698