From 6e5a069950fb6a49afc0029178c4c7461d0c612d Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 12 Mar 2024 19:56:27 +0000 Subject: [PATCH] Bug 1884778 - Implement missing IOSPlatformFontList::GetFilteredPlatformFontLists. r=jfkthame Differential Revision: https://phabricator.services.mozilla.com/D204303 --- gfx/thebes/IOSPlatformFontList.h | 4 ++++ gfx/thebes/IOSPlatformFontList.mm | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gfx/thebes/IOSPlatformFontList.h b/gfx/thebes/IOSPlatformFontList.h index 8ca7d95c275cb..733939b7557fe 100644 --- a/gfx/thebes/IOSPlatformFontList.h +++ b/gfx/thebes/IOSPlatformFontList.h @@ -21,6 +21,10 @@ class IOSPlatformFontList final : public CoreTextFontList { nsACString& aSystemFontName, gfxFontStyle& aFontStyle); + protected: + nsTArray> GetFilteredPlatformFontLists() + override; + private: friend class gfxPlatformMac; diff --git a/gfx/thebes/IOSPlatformFontList.mm b/gfx/thebes/IOSPlatformFontList.mm index f5a601bd171fc..e42d209fa376f 100644 --- a/gfx/thebes/IOSPlatformFontList.mm +++ b/gfx/thebes/IOSPlatformFontList.mm @@ -15,3 +15,10 @@ gfxFontStyle& aFontStyle) { MOZ_CRASH("UNIMPLEMENTED"); } + +nsTArray> +IOSPlatformFontList::GetFilteredPlatformFontLists() { + nsTArray> fontLists; + + return fontLists; +}