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

Unified Diff: xfa/fwl/core/cfwl_note.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/fwl/core/cfwl_message.h ('k') | xfa/fwl/core/cfwl_themepart.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_note.h
diff --git a/xfa/fwl/core/cfwl_note.h b/xfa/fwl/core/cfwl_note.h
index c0f105388c98f45363e69aa1a3d2f8802bc7be28..d173dc6f7667bbf32946e12265d7d6d015a1ae39 100644
--- a/xfa/fwl/core/cfwl_note.h
+++ b/xfa/fwl/core/cfwl_note.h
@@ -17,9 +17,9 @@ class IFWL_Widget;
// get cast to IFWL_* types.
class CFWL_Note {
public:
- virtual FX_DWORD Release() {
+ virtual uint32_t Release() {
m_dwRefCount--;
- FX_DWORD dwRefCount = m_dwRefCount;
+ uint32_t dwRefCount = m_dwRefCount;
if (!m_dwRefCount)
delete this;
return dwRefCount;
@@ -35,7 +35,7 @@ class CFWL_Note {
return FWL_ERR_Succeeded;
}
- virtual FX_DWORD GetClassID() const { return 0; }
+ virtual uint32_t GetClassID() const { return 0; }
virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const {
return TRUE;
@@ -46,7 +46,7 @@ class CFWL_Note {
IFWL_Widget* m_pSrcTarget;
IFWL_Widget* m_pDstTarget;
- FX_DWORD m_dwExtend;
+ uint32_t m_dwExtend;
protected:
CFWL_Note(FX_BOOL bIsEvent)
@@ -60,7 +60,7 @@ class CFWL_Note {
virtual FX_BOOL Initialize() { return TRUE; }
virtual int32_t Finalize() { return 0; }
- FX_DWORD m_dwRefCount;
+ uint32_t m_dwRefCount;
FX_BOOL m_bIsEvent;
};
« no previous file with comments | « xfa/fwl/core/cfwl_message.h ('k') | xfa/fwl/core/cfwl_themepart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698