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

Unified Diff: core/fxcrt/include/fx_basic.h

Issue 2005933002: Rename IFX_Unknown to IFX_Retainable. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Alphabetical order. Created 4 years, 7 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 | « no previous file | core/fxcrt/include/fx_ucd.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcrt/include/fx_basic.h
diff --git a/core/fxcrt/include/fx_basic.h b/core/fxcrt/include/fx_basic.h
index d3dce8c7498169928a3cf8dfcbc14da8423fe900..848429e8f3dd7679469f4407b3cb3582ccc40f1b 100644
--- a/core/fxcrt/include/fx_basic.h
+++ b/core/fxcrt/include/fx_basic.h
@@ -911,11 +911,13 @@ typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>,
FX_FILESIZE> CFX_FileSizeListArray;
#ifdef PDF_ENABLE_XFA
-class IFX_Unknown {
+class IFX_Retainable {
public:
- virtual ~IFX_Unknown() {}
+ virtual uint32_t Retain() = 0;
virtual uint32_t Release() = 0;
- virtual uint32_t AddRef() = 0;
+
+ protected:
+ virtual ~IFX_Retainable() {}
};
#define FX_IsOdd(a) ((a)&1)
#endif // PDF_ENABLE_XFA
« no previous file with comments | « no previous file | core/fxcrt/include/fx_ucd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698