diff options
Diffstat (limited to 'core/fxge/cfx_glyphcache.h')
-rw-r--r-- | core/fxge/cfx_glyphcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/cfx_glyphcache.h b/core/fxge/cfx_glyphcache.h index ff2e7409c..c71ae3c8d 100644 --- a/core/fxge/cfx_glyphcache.h +++ b/core/fxge/cfx_glyphcache.h @@ -18,7 +18,7 @@ #if defined(_SKIA_SUPPORT_) #include "core/fxge/fx_font.h" -#include "third_party/skia/include/core/SkTypeface.h" // nogncheck +#include "third_party/skia/include/core/SkRefCnt.h" // nogncheck #endif class CFX_Font; @@ -30,7 +30,6 @@ struct CFX_TextRenderOptions; class CFX_GlyphCache final : public Retainable, public Observable { public: CONSTRUCT_VIA_MAKE_RETAIN; - ~CFX_GlyphCache() override; const CFX_GlyphBitmap* LoadGlyphBitmap(const CFX_Font* pFont, uint32_t glyph_index, @@ -56,6 +55,7 @@ class CFX_GlyphCache final : public Retainable, public Observable { private: explicit CFX_GlyphCache(RetainPtr<CFX_Face> face); + ~CFX_GlyphCache() override; using SizeGlyphCache = std::map<uint32_t, std::unique_ptr<CFX_GlyphBitmap>>; // <glyph_index, width, weight, angle, vertical> |