mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user