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

Unified Diff: xfa/src/fdp/src/css/fde_csscache.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 | « xfa/src/fdp/include/fde_xml.h ('k') | xfa/src/fdp/src/css/fde_cssdatatable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fdp/src/css/fde_csscache.h
diff --git a/xfa/src/fdp/src/css/fde_csscache.h b/xfa/src/fdp/src/css/fde_csscache.h
index f4b8cffd5784ecffabfe590b76ee2e3140e523a9..82c0e4f7e0f4d81c656489195dd9651eb23bb05e 100644
--- a/xfa/src/fdp/src/css/fde_csscache.h
+++ b/xfa/src/fdp/src/css/fde_csscache.h
@@ -22,7 +22,7 @@ public:
FDE_Delete this;
}
- virtual void SetMaxItems(FX_INT32 iMaxCount = 5)
+ virtual void SetMaxItems(int32_t iMaxCount = 5)
{
FXSYS_assert(iMaxCount >= 3);
m_iMaxItems = iMaxCount;
@@ -35,7 +35,7 @@ protected:
void RemoveLowestActivityItem();
CFX_MapByteStringToPtr m_Stylesheets;
IFX_MEMAllocator *m_pFixedStore;
- FX_INT32 m_iMaxItems;
+ int32_t m_iMaxItems;
};
typedef struct _FDE_CSSTAGCACHE : public CFX_Target {
public:
@@ -57,11 +57,11 @@ public:
{
return dwTagHash;
}
- FX_INT32 CountHashClass() const
+ int32_t CountHashClass() const
{
return dwClassHashs.GetSize();
}
- void SetClassIndex(FX_INT32 index)
+ void SetClassIndex(int32_t index)
{
iClassIndex = index;
}
@@ -74,7 +74,7 @@ protected:
_FDE_CSSTAGCACHE *pParent;
FX_DWORD dwIDHash;
FX_DWORD dwTagHash;
- FX_INT32 iClassIndex;
+ int32_t iClassIndex;
CFDE_DWordArray dwClassHashs;
} FDE_CSSTAGCACHE, * FDE_LPCSSTAGCACHE;
typedef CFX_ObjectStackTemplate<FDE_CSSTAGCACHE> CFDE_CSSTagStack;
« no previous file with comments | « xfa/src/fdp/include/fde_xml.h ('k') | xfa/src/fdp/src/css/fde_cssdatatable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698