mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
LibGfx: Make Gfx::ShareableBitmap use anonymous files instead of shbufs
This commit is contained in:
@@ -60,7 +60,7 @@ Notification::~Notification()
|
||||
void Notification::show()
|
||||
{
|
||||
auto connection = NotificationServerConnection::construct();
|
||||
auto icon = m_icon ? m_icon->to_shareable_bitmap(connection->server_pid()) : Gfx::ShareableBitmap();
|
||||
auto icon = m_icon ? m_icon->to_shareable_bitmap() : Gfx::ShareableBitmap();
|
||||
connection->send_sync<Messages::NotificationServer::ShowNotification>(m_text, m_title, icon);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user