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

Unified Diff: xfa/fde/css/fde_csscache.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (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 | « xfa/fde/css/fde_css.h ('k') | xfa/fde/css/fde_cssdatatable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/css/fde_csscache.h
diff --git a/xfa/fde/css/fde_csscache.h b/xfa/fde/css/fde_csscache.h
index b886424d64d14559039d3cfa1472db5cdcf9166c..20158b5371cc687d8c85b02b8473ece9049f2195 100644
--- a/xfa/fde/css/fde_csscache.h
+++ b/xfa/fde/css/fde_csscache.h
@@ -18,7 +18,7 @@ class FDE_CSSCacheItem : public CFX_Target {
~FDE_CSSCacheItem();
IFDE_CSSStyleSheet* pStylesheet;
- FX_DWORD dwActivity;
+ uint32_t dwActivity;
};
class CFDE_CSSStyleSheetCache : public IFDE_CSSStyleSheetCache,
@@ -51,11 +51,11 @@ class FDE_CSSTagCache : public CFX_Target {
FDE_CSSTagCache(const FDE_CSSTagCache& it);
FDE_CSSTagCache* GetParent() const { return pParent; }
IFDE_CSSTagProvider* GetTag() const { return pTag; }
- FX_DWORD HashID() const { return dwIDHash; }
- FX_DWORD HashTag() const { return dwTagHash; }
+ uint32_t HashID() const { return dwIDHash; }
+ uint32_t HashTag() const { return dwTagHash; }
int32_t CountHashClass() const { return dwClassHashs.GetSize(); }
void SetClassIndex(int32_t index) { iClassIndex = index; }
- FX_DWORD HashClass() const {
+ uint32_t HashClass() const {
return iClassIndex < dwClassHashs.GetSize()
? dwClassHashs.GetAt(iClassIndex)
: 0;
@@ -64,8 +64,8 @@ class FDE_CSSTagCache : public CFX_Target {
protected:
IFDE_CSSTagProvider* pTag;
FDE_CSSTagCache* pParent;
- FX_DWORD dwIDHash;
- FX_DWORD dwTagHash;
+ uint32_t dwIDHash;
+ uint32_t dwTagHash;
int32_t iClassIndex;
CFDE_DWordArray dwClassHashs;
};
« no previous file with comments | « xfa/fde/css/fde_css.h ('k') | xfa/fde/css/fde_cssdatatable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698