Issue #2191 - Remove redundant CairoScaledFont accessor from gfxFont subclasses.

Backported from Mozilla bug 1385029.
This commit is contained in:
Job Bautista 2023-04-05 18:47:25 +08:00 • committed by roytam1
commit b721b6257f
4 changed files with 6 additions and 8 deletions

View file

@ -28,8 +28,7 @@ public:
HFONT GetHFONT() { return mFont; }
cairo_font_face_t *CairoFontFace() { return mFontFace; }
cairo_scaled_font_t *CairoScaledFont() { return mScaledFont; }
cairo_font_face_t* CairoFontFace() { return mFontFace; }
/* overrides for the pure virtual methods in gfxFont */
virtual uint32_t GetSpaceGlyph() override;