diff options
Diffstat (limited to 'Ladybird')
-rw-r--r-- | Ladybird/WebContent/main.cpp | 2 | ||||
-rw-r--r-- | Ladybird/WebContentView.cpp | 4 | ||||
-rw-r--r-- | Ladybird/WebDriver/main.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Ladybird/WebContent/main.cpp b/Ladybird/WebContent/main.cpp index 0a68d2ed28..9cce282d08 100644 --- a/Ladybird/WebContent/main.cpp +++ b/Ladybird/WebContent/main.cpp @@ -94,7 +94,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto webcontent_socket = TRY(Core::take_over_socket_from_system_server("WebContent"sv)); auto webcontent_client = TRY(WebContent::ConnectionFromClient::try_create(move(webcontent_socket))); - webcontent_client->set_fd_passing_socket(TRY(Core::Stream::LocalSocket::adopt_fd(webcontent_fd_passing_socket))); + webcontent_client->set_fd_passing_socket(TRY(Core::LocalSocket::adopt_fd(webcontent_fd_passing_socket))); QSocketNotifier webcontent_notifier(QSocketNotifier::Type::Read); proxy_socket_through_notifier(*webcontent_client, webcontent_notifier); diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp index 690b1c0d72..e35b7c8310 100644 --- a/Ladybird/WebContentView.cpp +++ b/Ladybird/WebContentView.cpp @@ -600,11 +600,11 @@ void WebContentView::create_client() MUST(Core::System::close(wc_fd_passing_fd)); MUST(Core::System::close(wc_fd)); - auto socket = MUST(Core::Stream::LocalSocket::adopt_fd(ui_fd)); + auto socket = MUST(Core::LocalSocket::adopt_fd(ui_fd)); MUST(socket->set_blocking(true)); auto new_client = MUST(adopt_nonnull_ref_or_enomem(new (nothrow) WebView::WebContentClient(std::move(socket), *this))); - new_client->set_fd_passing_socket(MUST(Core::Stream::LocalSocket::adopt_fd(ui_fd_passing_fd))); + new_client->set_fd_passing_socket(MUST(Core::LocalSocket::adopt_fd(ui_fd_passing_fd))); m_web_content_notifier.setSocket(new_client->socket().fd().value()); m_web_content_notifier.setEnabled(true); diff --git a/Ladybird/WebDriver/main.cpp b/Ladybird/WebDriver/main.cpp index 03f11e418b..7c668af984 100644 --- a/Ladybird/WebDriver/main.cpp +++ b/Ladybird/WebDriver/main.cpp @@ -125,7 +125,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) return; } - auto maybe_buffered_socket = Core::Stream::BufferedTCPSocket::create(maybe_client_socket.release_value()); + auto maybe_buffered_socket = Core::BufferedTCPSocket::create(maybe_client_socket.release_value()); if (maybe_buffered_socket.is_error()) { warnln("Could not obtain a buffered socket for the client: {}", maybe_buffered_socket.error()); return; |