From 25dc95a3cb9099550fa4d9d4f1c74b0f996fbc41 Mon Sep 17 00:00:00 2001 From: tsepez Date: Mon, 6 Jun 2016 13:09:29 -0700 Subject: 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 --- core/fxge/android/fpf_skiafont.cpp | 4 ---- core/fxge/android/fpf_skiafont.h | 3 --- 2 files changed, 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; } -- cgit v1.2.3