mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
WebContent: Remove unused private member
This commit removes the unused m_heap member from ConnectionFromClient. This also works around an issue where some cmake version doesn't apply compiler options from within a subdirectory globally.
This commit is contained in:
parent
67848a8c51
commit
8f1a7934e1
Notes:
github-actions[bot]
2025-04-04 08:10:40 +00:00
Author: https://github.com/R-Goc
Commit: 8f1a7934e1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4217
Reviewed-by: https://github.com/gmta ✅
3 changed files with 3 additions and 5 deletions
|
@ -213,7 +213,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
static_assert(IsSame<IPC::Transport, IPC::TransportSocket>, "Need to handle other IPC transports here");
|
||||
|
||||
auto webcontent_socket = TRY(Core::take_over_socket_from_system_server("WebContent"sv));
|
||||
auto webcontent_client = TRY(WebContent::ConnectionFromClient::try_create(Web::Bindings::main_thread_vm().heap(), IPC::Transport(move(webcontent_socket))));
|
||||
auto webcontent_client = TRY(WebContent::ConnectionFromClient::try_create(IPC::Transport(move(webcontent_socket))));
|
||||
|
||||
webcontent_client->on_image_decoder_connection = [&](auto& socket_file) {
|
||||
auto maybe_error = reinitialize_image_decoder(socket_file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue