mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -28,7 +28,7 @@ class BookmarkEditor final : public GUI::Dialog {
|
|||
|
||||
public:
|
||||
static Vector<JsonValue>
|
||||
edit_bookmark(Window* parent_window, const StringView& title, const StringView& url)
|
||||
edit_bookmark(Window* parent_window, StringView title, StringView url)
|
||||
{
|
||||
auto editor = BookmarkEditor::construct(parent_window, title, url);
|
||||
editor->set_title("Edit Bookmark");
|
||||
|
@ -41,7 +41,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
BookmarkEditor(Window* parent_window, const StringView& title, const StringView& url)
|
||||
BookmarkEditor(Window* parent_window, StringView title, StringView url)
|
||||
: Dialog(parent_window)
|
||||
{
|
||||
auto& widget = set_main_widget<GUI::Widget>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue