summaryrefslogtreecommitdiffstats
path: root/gfx/thebes/SharedFontList.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:18:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 15:18:54 +0000
commita5f28e22cc28ca53d092f6545bc924ee43a8bbe4 (patch)
tree7e02d01734d97de08bdeed66d2d5185f8e4f0a61 /gfx/thebes/SharedFontList.h
parentReleasing progress-linux version 115.8.0esr-1~deb12u1progress7u1. (diff)
downloadfirefox-esr-a5f28e22cc28ca53d092f6545bc924ee43a8bbe4.tar.xz
firefox-esr-a5f28e22cc28ca53d092f6545bc924ee43a8bbe4.zip
Merging upstream version 115.9.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/thebes/SharedFontList.h')
-rw-r--r--gfx/thebes/SharedFontList.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/thebes/SharedFontList.h b/gfx/thebes/SharedFontList.h
index 279bbd1a57..289dd7364a 100644
--- a/gfx/thebes/SharedFontList.h
+++ b/gfx/thebes/SharedFontList.h
@@ -333,7 +333,8 @@ struct Family {
// Return the index of this family in the font-list's Families() or
// AliasFamilies() list, and which of those it belongs to.
- std::pair<uint32_t, bool> FindIndex(FontList* aList) const;
+ // Returns Nothing if the family cannot be found.
+ mozilla::Maybe<std::pair<uint32_t, bool>> FindIndex(FontList* aList) const;
private:
// Returns true if there are specifically-sized bitmap faces in the list,