From a5f28e22cc28ca53d092f6545bc924ee43a8bbe4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 8 Apr 2024 17:18:54 +0200 Subject: Merging upstream version 115.9.0esr. Signed-off-by: Daniel Baumann --- gfx/thebes/SharedFontList.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gfx/thebes/SharedFontList.h') 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 FindIndex(FontList* aList) const; + // Returns Nothing if the family cannot be found. + mozilla::Maybe> FindIndex(FontList* aList) const; private: // Returns true if there are specifically-sized bitmap faces in the list, -- cgit v1.2.3