summaryrefslogtreecommitdiff
path: root/core/fxge/android/fx_android_font.cpp
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-08-16 15:37:20 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-16 15:37:21 -0700
commitb88b8e47fd7adc14c7aff048c0def0579bdd22dd (patch)
tree50fe31941f6ff8cefa1d6b7eda3834f1f0c34a27 /core/fxge/android/fx_android_font.cpp
parent09213860d9d9e9a88132cf69e60bb9af513fc1fa (diff)
downloadpdfium-b88b8e47fd7adc14c7aff048c0def0579bdd22dd.tar.xz
Delete m_ExtHandle and RetainFont because they are not being used.
CFX_SubstFont::m_ExtHandle is never assigned a value different from nullptr. Similarly, IFX_SystemFontInfo::RetainFont has two implementations. Both of these return nullptr, so this method is not needed. Review-Url: https://codereview.chromium.org/2252833002
Diffstat (limited to 'core/fxge/android/fx_android_font.cpp')
-rw-r--r--core/fxge/android/fx_android_font.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fxge/android/fx_android_font.cpp b/core/fxge/android/fx_android_font.cpp
index b1bfe90c1e..58a5ab4b85 100644
--- a/core/fxge/android/fx_android_font.cpp
+++ b/core/fxge/android/fx_android_font.cpp
@@ -88,8 +88,4 @@ void CFX_AndroidFontInfo::DeleteFont(void* hFont) {
static_cast<CFPF_SkiaFont*>(hFont)->Release();
}
-void* CFX_AndroidFontInfo::RetainFont(void* hFont) {
- return nullptr;
-}
-
#endif // _FX_OS_ == _FX_ANDROID_