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

Unified Diff: core/src/fxcodec/jbig2/JBig2_List.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_Image.cpp ('k') | core/src/fxcodec/jbig2/JBig2_Module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcodec/jbig2/JBig2_List.h
diff --git a/core/src/fxcodec/jbig2/JBig2_List.h b/core/src/fxcodec/jbig2/JBig2_List.h
index 9292724b1ee0e6c9c801b15497fb1e732b966c68..19f99dec3dd5f4568f41ecd86546e4528a08cdc2 100644
--- a/core/src/fxcodec/jbig2/JBig2_List.h
+++ b/core/src/fxcodec/jbig2/JBig2_List.h
@@ -13,7 +13,7 @@ class CJBig2_List : public CJBig2_Object
{
public:
- CJBig2_List(FX_INT32 nSize = 8)
+ CJBig2_List(int32_t nSize = 8)
{
m_nSize = nSize;
m_pArray = (TYPE**)m_pModule->JBig2_Malloc2(sizeof(TYPE*), nSize);
@@ -28,7 +28,7 @@ public:
void clear()
{
- FX_INT32 i;
+ int32_t i;
for(i = 0; i < m_nLength; i++) {
delete m_pArray[i];
}
@@ -45,12 +45,12 @@ public:
}
- FX_INT32 getLength()
+ int32_t getLength()
{
return m_nLength;
}
- TYPE *getAt(FX_INT32 nIndex)
+ TYPE *getAt(int32_t nIndex)
{
return m_pArray[nIndex];
}
@@ -60,8 +60,8 @@ public:
return m_pArray[m_nLength - 1];
}
private:
- FX_INT32 m_nSize;
+ int32_t m_nSize;
TYPE **m_pArray;
- FX_INT32 m_nLength;
+ int32_t m_nLength;
};
#endif
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Image.cpp ('k') | core/src/fxcodec/jbig2/JBig2_Module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698