diff options
Diffstat (limited to 'gfx/2d/ScaledFontWin.h')
-rw-r--r-- | gfx/2d/ScaledFontWin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/2d/ScaledFontWin.h b/gfx/2d/ScaledFontWin.h index 7a99bf587..20c95ed3d 100644 --- a/gfx/2d/ScaledFontWin.h +++ b/gfx/2d/ScaledFontWin.h @@ -15,9 +15,10 @@ namespace gfx { class ScaledFontWin : public ScaledFontBase { public: + MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(ScaledFontWin) ScaledFontWin(LOGFONT* aFont, Float aSize); - virtual FontType GetType() const { return FONT_GDI; } + virtual FontType GetType() const { return FontType::GDI; } #ifdef USE_SKIA virtual SkTypeface* GetSkTypeface(); #endif |