1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

Everywhere: Pass AK::StringView by value

This commit is contained in:
Andreas Kling 2021-11-11 00:55:02 +01:00
parent ad5d217e76
commit 8b1108e485
Notes: sideshowbarker 2024-07-18 01:17:49 +09:00
392 changed files with 978 additions and 978 deletions

View file

@ -14,7 +14,7 @@ REGISTER_WIDGET(GUI, GroupBox)
namespace GUI {
GroupBox::GroupBox(const StringView& title)
GroupBox::GroupBox(StringView title)
: m_title(title)
{
REGISTER_STRING_PROPERTY("title", title, set_title);
@ -58,7 +58,7 @@ void GroupBox::fonts_change_event(FontsChangeEvent& event)
invalidate_layout();
}
void GroupBox::set_title(const StringView& title)
void GroupBox::set_title(StringView title)
{
if (m_title == title)
return;