From 01fa1efb228acdcf5250804c670107133668e4b2 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 31 Jul 2015 14:00:39 -0700 Subject: Kill IFX_FontMapper The design envisioned two kinds of font mappers: internal (of type CFX_FontMapper), and external, both of which implement a common interface. But there isn't any means of making an external one, so the interface is redundant. IFX_FontMapper also appears in an apple-specific struct, but was never non-null or used in any way. The CFX_FontMapper class provides its own mechanism to include platform-specific features, as it turns out. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1259123005 . --- core/src/fxge/ge/fx_ge.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/src/fxge/ge/fx_ge.cpp') diff --git a/core/src/fxge/ge/fx_ge.cpp b/core/src/fxge/ge/fx_ge.cpp index 4b34a079e5..6ba6cf5979 100644 --- a/core/src/fxge/ge/fx_ge.cpp +++ b/core/src/fxge/ge/fx_ge.cpp @@ -63,8 +63,3 @@ const uint8_t* CFX_GEModule::GetTextGammaTable() { return m_GammaValue; } -void CFX_GEModule::SetExtFontMapper(IFX_FontMapper* pFontMapper) -{ - GetFontMgr()->m_pExtMapper = pFontMapper; - pFontMapper->m_pFontMgr = m_pFontMgr; -} -- cgit v1.2.3