mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
LibGfx: Mark BitmapFont::try_clone() as virtual
This commit is contained in:
parent
a1c24ef3ad
commit
89ef3ed4ce
Notes:
sideshowbarker
2024-07-17 02:59:43 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/89ef3ed4ce Pull-request: https://github.com/SerenityOS/serenity/pull/21298 Reviewed-by: https://github.com/timschumi ✅
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ namespace Gfx {
|
|||
class BitmapFont final : public Font {
|
||||
public:
|
||||
virtual NonnullRefPtr<Font> clone() const override;
|
||||
ErrorOr<NonnullRefPtr<Font>> try_clone() const override;
|
||||
virtual ErrorOr<NonnullRefPtr<Font>> try_clone() const override;
|
||||
static ErrorOr<NonnullRefPtr<BitmapFont>> create(u8 glyph_height, u8 glyph_width, bool fixed, size_t glyph_count);
|
||||
|
||||
virtual FontPixelMetrics pixel_metrics() const override;
|
||||
|
|
Loading…
Reference in a new issue