mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #2191 - Make ScaledFont::SetCairoScaledFont virtual so it can be accessed from outside Moz2D.
Backported from Mozilla bug 1385029.
This commit is contained in:
parent
b5d5963a4f
commit
c54e2502b0
2 changed files with 5 additions and 2 deletions
|
|
@ -718,6 +718,9 @@ public:
|
|||
return mUserData.Get(key);
|
||||
}
|
||||
|
||||
virtual cairo_scaled_font_t* GetCairoScaledFont() { return nullptr; }
|
||||
virtual void SetCairoScaledFont(cairo_scaled_font_t* font) {}
|
||||
|
||||
protected:
|
||||
ScaledFont() {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue