summaryrefslogtreecommitdiff
path: root/Ladybird/WebContentView.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-02-05 21:21:54 +0000
committerLinus Groh <mail@linusgroh.de>2023-02-08 19:15:45 +0000
commit1c92e6ee9d1f686f20f37445150d63ae474b7e9b (patch)
tree4347f735a06e92cc4d8af7d9935d823bd7797e2f /Ladybird/WebContentView.cpp
parent8483efb399faa961f26c3ff4273bf424e75a3157 (diff)
downloadserenity-1c92e6ee9d1f686f20f37445150d63ae474b7e9b.zip
Ladybird: Don't overwrite argv[0] in spawn_helper_process()
This is already set correctly at the caller.
Diffstat (limited to 'Ladybird/WebContentView.cpp')
-rw-r--r--Ladybird/WebContentView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp
index df7dab4ea3..d6d9c7ef46 100644
--- a/Ladybird/WebContentView.cpp
+++ b/Ladybird/WebContentView.cpp
@@ -581,7 +581,7 @@ void WebContentView::create_client()
auto webcontent_fd_passing_socket_string = DeprecatedString::number(wc_fd_passing_fd);
- Vector<StringView> arguments {
+ Vector<StringView, 5> arguments {
"WebContent"sv,
"--webcontent-fd-passing-socket"sv,
webcontent_fd_passing_socket_string