summaryrefslogtreecommitdiff
path: root/LibGUI/GFontDatabase.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GFontDatabase.h')
-rw-r--r--LibGUI/GFontDatabase.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/LibGUI/GFontDatabase.h b/LibGUI/GFontDatabase.h
index af49e68875..7b22bc4d10 100644
--- a/LibGUI/GFontDatabase.h
+++ b/LibGUI/GFontDatabase.h
@@ -16,11 +16,11 @@ class GFontDatabase {
public:
static GFontDatabase& the();
- RetainPtr<Font> get_by_name(const String&);
- void for_each_font(Function<void(const String&)>);
- void for_each_fixed_width_font(Function<void(const String&)>);
+ RetainPtr<Font> get_by_name(const StringView&);
+ void for_each_font(Function<void(const StringView&)>);
+ void for_each_fixed_width_font(Function<void(const StringView&)>);
- Metadata get_metadata_by_name(const String& name) const
+ Metadata get_metadata_by_name(const StringView& name) const
{
return m_name_to_metadata.get(name);
};