diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-31 14:00:39 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-31 14:00:39 -0700 |
commit | 01fa1efb228acdcf5250804c670107133668e4b2 (patch) | |
tree | e83ded2726aa899e633290284a2bfa1555f95d06 /core/src/fxge/apple | |
parent | bd8b0d31ffc9e16f8e9ee08f893716e3fca44c1a (diff) | |
download | pdfium-01fa1efb228acdcf5250804c670107133668e4b2.tar.xz |
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 .
Diffstat (limited to 'core/src/fxge/apple')
-rw-r--r-- | core/src/fxge/apple/apple_int.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/core/src/fxge/apple/apple_int.h b/core/src/fxge/apple/apple_int.h index 715e48d6c2..090ac0924a 100644 --- a/core/src/fxge/apple/apple_int.h +++ b/core/src/fxge/apple/apple_int.h @@ -65,16 +65,10 @@ public: class CApplePlatform { public: - CApplePlatform() - { - m_pFontMapper = NULL; - } - ~CApplePlatform() - { - delete m_pFontMapper; - } + CApplePlatform() {} + ~CApplePlatform() {} + CQuartz2D _quartz2d; - IFX_FontMapper* m_pFontMapper; }; class CFX_QuartzDeviceDriver : public IFX_RenderDeviceDriver { |