From 76020fc9751e55661d1c01b6cd92dfcb1fd56e6a Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 18 May 2017 15:51:20 -0700 Subject: Move CCodec_ModuleMgr ownership to CPDF_ModuleMgr. More straight forward than CFX_GEModule owning in and CPDF_ModuleMgr holding a pointer to it. Remove assumptions that the codec modules may return nullptr, and do IWYU. Change-Id: Iba7fc3c7ec223fd6d29a1ab74ed13d35689bc5d5 Reviewed-on: https://pdfium-review.googlesource.com/5654 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fxge/cfx_gemodule.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/fxge/cfx_gemodule.h') diff --git a/core/fxge/cfx_gemodule.h b/core/fxge/cfx_gemodule.h index 429f7d9a39..2816ca9b22 100644 --- a/core/fxge/cfx_gemodule.h +++ b/core/fxge/cfx_gemodule.h @@ -12,7 +12,6 @@ #include "core/fxge/cfx_fontmgr.h" #include "core/fxge/fx_font.h" -class CCodec_ModuleMgr; class CFX_FontCache; class CFX_FontMgr; @@ -25,7 +24,6 @@ class CFX_GEModule { CFX_FontCache* GetFontCache(); CFX_FontMgr* GetFontMgr() { return m_pFontMgr.get(); } - CCodec_ModuleMgr* GetCodecModule() { return m_pCodecModule.get(); } void* GetPlatformData() { return m_pPlatformData; } private: @@ -37,7 +35,6 @@ class CFX_GEModule { std::unique_ptr m_pFontCache; std::unique_ptr m_pFontMgr; - std::unique_ptr m_pCodecModule; void* m_pPlatformData; const char** m_pUserFontPaths; }; -- cgit v1.2.3