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

@ -29,7 +29,6 @@ public:
virtual int32_t GetGlyphWidth(DrawTarget& aDrawTarget,
uint16_t aGID) override;
cairo_scaled_font_t *CairoScaledFont() { return mScaledFont; };
virtual bool SetupCairoFont(DrawTarget* aDrawTarget) override;
virtual FontType GetType() const override { return FONT_TYPE_FT2; }