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/fgas/src/font/fx_stdfontmgr.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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/fgas/src/font/fx_gefont.h ('k') | xfa/src/fgas/src/layout/fx_rtfbreak.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fgas/src/font/fx_stdfontmgr.h
diff --git a/xfa/src/fgas/src/font/fx_stdfontmgr.h b/xfa/src/fgas/src/font/fx_stdfontmgr.h
index adcc737ca57ad4d6d208f5c8457ed530b5739a91..ba44233ad03ea8e5ce8e3da12b0b10c4cf78d6d4 100644
--- a/xfa/src/fgas/src/font/fx_stdfontmgr.h
+++ b/xfa/src/fgas/src/font/fx_stdfontmgr.h
@@ -9,7 +9,7 @@
#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
FX_INT32 FX_GetSimilarValue(FX_LPCFONTDESCRIPTOR pFont, FX_DWORD dwFontStyles);
FX_LPCFONTDESCRIPTOR FX_DefFontMatcher(FX_LPFONTMATCHPARAMS pParams, const CFX_FontDescriptors &fonts, FX_LPVOID pUserData);
-class CFX_StdFontMgrImp : public IFX_FontMgr, public CFX_Object
+class CFX_StdFontMgrImp : public IFX_FontMgr
{
public:
CFX_StdFontMgrImp(FX_LPEnumAllFonts pEnumerator, FX_LPMatchFont pMatcher, FX_LPVOID pUserData);
@@ -48,7 +48,7 @@ protected:
};
FX_DWORD FX_GetGdiFontStyles(const LOGFONTW &lf);
#else
-class CFX_FontDescriptor : public CFX_Object
+class CFX_FontDescriptor
{
public:
CFX_FontDescriptor()
@@ -92,7 +92,7 @@ public:
};
};
typedef CFX_ArrayTemplate<FX_FontDescriptorInfo> CFX_FontDescriptorInfos;
-struct FX_HandleParentPath : public CFX_Object {
+struct FX_HandleParentPath {
FX_HandleParentPath()
{
}
@@ -104,7 +104,7 @@ struct FX_HandleParentPath : public CFX_Object {
void* pFileHandle;
CFX_ByteString bsParentPath;
};
-class CFX_FontSourceEnum_File : public IFX_FontSourceEnum, public CFX_Object
+class CFX_FontSourceEnum_File : public IFX_FontSourceEnum
{
public:
CFX_FontSourceEnum_File();
@@ -127,7 +127,7 @@ typedef CFX_MapPtrTemplate<FX_DWORD, CFX_ArrayTemplate<IFX_Font*>* > CFX_HashFon
typedef CFX_MapPtrTemplate<FX_WCHAR, IFX_Font*> CFX_UnicodeFontMap;
typedef CFX_MapPtrTemplate<IFX_FileAccess*, CFX_ArrayTemplate<IFX_Font*>* > CFX_FileFontMap;
typedef CFX_MapPtrTemplate<IFX_Font*, IFX_FileRead*> CFX_FonStreamtMap;
-class CFX_FontMgrImp : public IFX_FontMgr, public CFX_Object
+class CFX_FontMgrImp : public IFX_FontMgr
{
public:
CFX_FontMgrImp(IFX_FontSourceEnum* pFontEnum, IFX_FontMgrDelegate* pDelegate = NULL, FX_LPVOID pUserData = NULL);
« no previous file with comments | « xfa/src/fgas/src/font/fx_gefont.h ('k') | xfa/src/fgas/src/layout/fx_rtfbreak.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698