mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 14:28:49 +00:00
LibWeb: Remove assertions about type of IPC::Transport
These constexpr checks and static assertions are really just loud FIXME comments, and should be comments instead.
This commit is contained in:
parent
fe43712e72
commit
2be8052f0a
Notes:
github-actions[bot]
2025-02-13 01:43:06 +00:00
Author: https://github.com/stasoid
Commit: 2be8052f0a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3000
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 12 additions and 18 deletions
|
@ -38,8 +38,8 @@ void WorkerAgent::initialize(JS::Realm& realm)
|
|||
|
||||
auto worker_socket = MUST(Core::LocalSocket::adopt_fd(worker_socket_file.take_fd()));
|
||||
MUST(worker_socket->set_blocking(true));
|
||||
static_assert(IsSame<IPC::Transport, IPC::TransportSocket>, "Handle other IPC::Transport types here");
|
||||
|
||||
// TODO: Mach IPC
|
||||
auto transport = IPC::Transport(move(worker_socket));
|
||||
|
||||
m_worker_ipc = make_ref_counted<WebWorkerClient>(move(transport));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue