/* * Copyright (c) 2026, the Ladybird developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include #include namespace WebView { CompositorClient::CompositorClient(NonnullOwnPtr transport) : IPC::ConnectionToServer(*this, move(transport)) { } void CompositorClient::die() { if (auto callback = move(on_death)) { Core::deferred_invoke([callback = move(callback)]() mutable { callback(); }); } } void CompositorClient::did_connect_web_content(i32) { } }