Skip to content

Commit

Permalink
Bug 1884778 - Implement missing IOSPlatformFontList::GetFilteredPlatf…
Browse files Browse the repository at this point in the history
…ormFontLists. r=jfkthame

Differential Revision: https://phabricator.services.mozilla.com/D204303
  • Loading branch information
glandium committed Mar 12, 2024
1 parent 7fc8fb8 commit 6e5a069
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gfx/thebes/IOSPlatformFontList.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class IOSPlatformFontList final : public CoreTextFontList {
nsACString& aSystemFontName,
gfxFontStyle& aFontStyle);

protected:
nsTArray<std::pair<const char**, uint32_t>> GetFilteredPlatformFontLists()
override;

private:
friend class gfxPlatformMac;

Expand Down
7 changes: 7 additions & 0 deletions gfx/thebes/IOSPlatformFontList.mm
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@
gfxFontStyle& aFontStyle) {
MOZ_CRASH("UNIMPLEMENTED");
}

nsTArray<std::pair<const char**, uint32_t>>
IOSPlatformFontList::GetFilteredPlatformFontLists() {
nsTArray<std::pair<const char**, uint32_t>> fontLists;

return fontLists;
}

0 comments on commit 6e5a069

Please sign in to comment.