summaryrefslogtreecommitdiff
path: root/core/fxge/android/cfpf_skiafont.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-17 19:29:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-17 19:29:51 +0000
commite13a068f29061b9c6d24189bc4dc87a9111cdb1b (patch)
tree0ee44a6d076ce7fb4db75e04ef5a1ae5cf58cd46 /core/fxge/android/cfpf_skiafont.cpp
parent3a6d058740a9908a06efb9e9362df01acdee6ff8 (diff)
downloadpdfium-e13a068f29061b9c6d24189bc4dc87a9111cdb1b.tar.xz
Remove CFPF_SkiaBufferFont and CFPF_SkiaFileFont.
The classes are never instantiated. Change-Id: I108d3c397464e50b337bc46702d4adbc263e8814 Reviewed-on: https://pdfium-review.googlesource.com/40550 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/android/cfpf_skiafont.cpp')
-rw-r--r--core/fxge/android/cfpf_skiafont.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/fxge/android/cfpf_skiafont.cpp b/core/fxge/android/cfpf_skiafont.cpp
index 1ca0f576be..6431f14c57 100644
--- a/core/fxge/android/cfpf_skiafont.cpp
+++ b/core/fxge/android/cfpf_skiafont.cpp
@@ -9,8 +9,6 @@
#include <algorithm>
#include "core/fxcrt/fx_system.h"
-#include "core/fxge/android/cfpf_skiabufferfont.h"
-#include "core/fxge/android/cfpf_skiafilefont.h"
#include "core/fxge/android/cfpf_skiafontdescriptor.h"
#include "core/fxge/android/cfpf_skiafontmgr.h"
#include "core/fxge/android/cfpf_skiapathfont.h"
@@ -193,17 +191,6 @@ bool CFPF_SkiaFont::InitFont(CFPF_SkiaFontMgr* pFontMgr,
m_Face = pFontMgr->GetFontFace(pFont->m_pPath, pFont->m_iFaceIndex);
break;
}
- case FPF_SKIAFONTTYPE_File: {
- CFPF_SkiaFileFont* pFont = (CFPF_SkiaFileFont*)pFontDes;
- m_Face = pFontMgr->GetFontFace(pFont->m_pFile, pFont->m_iFaceIndex);
- break;
- }
- case FPF_SKIAFONTTYPE_Buffer: {
- CFPF_SkiaBufferFont* pFont = (CFPF_SkiaBufferFont*)pFontDes;
- m_Face = pFontMgr->GetFontFace((const uint8_t*)pFont->m_pBuffer,
- pFont->m_szBuffer, pFont->m_iFaceIndex);
- break;
- }
default:
return false;
}