summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-06 13:09:29 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-06 13:09:29 -0700
commit25dc95a3cb9099550fa4d9d4f1c74b0f996fbc41 (patch)
tree17f7b6b8251328b6443171a748c8bc3544db75be /core/fxge
parent52d78564a61fad5d435f3c95a3a6c0df142e50cf (diff)
downloadpdfium-25dc95a3cb9099550fa4d9d4f1c74b0f996fbc41.tar.xz
Get rid of unused android GetHandle() and FPF_HFONT
git grep FPF_HFONT git grep '\bGetHandle\b' show these are unused. Review-Url: https://codereview.chromium.org/2032793003
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/android/fpf_skiafont.cpp4
-rw-r--r--core/fxge/android/fpf_skiafont.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/core/fxge/android/fpf_skiafont.cpp b/core/fxge/android/fpf_skiafont.cpp
index e3277137d0..2b639fe944 100644
--- a/core/fxge/android/fpf_skiafont.cpp
+++ b/core/fxge/android/fpf_skiafont.cpp
@@ -39,10 +39,6 @@ CFPF_SkiaFont* CFPF_SkiaFont::Retain() {
return this;
}
-FPF_HFONT CFPF_SkiaFont::GetHandle() {
- return nullptr;
-}
-
CFX_ByteString CFPF_SkiaFont::GetFamilyName() {
if (!m_Face)
return CFX_ByteString();
diff --git a/core/fxge/android/fpf_skiafont.h b/core/fxge/android/fpf_skiafont.h
index 15347b2ff3..4e03051a44 100644
--- a/core/fxge/android/fpf_skiafont.h
+++ b/core/fxge/android/fpf_skiafont.h
@@ -16,8 +16,6 @@
class CFPF_SkiaFontDescriptor;
class CFPF_SkiaFontMgr;
-typedef struct FPF_HFONT_ { void* pData; } * FPF_HFONT;
-
class CFPF_SkiaFont {
public:
CFPF_SkiaFont();
@@ -26,7 +24,6 @@ class CFPF_SkiaFont {
void Release();
CFPF_SkiaFont* Retain();
- FPF_HFONT GetHandle();
CFX_ByteString GetFamilyName();
CFX_ByteString GetPsName();
uint32_t GetFontStyle() const { return m_dwStyle; }