1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:35:09 +00:00

LibGfx: Make Gfx::ShareableBitmap use anonymous files instead of shbufs

This commit is contained in:
Andreas Kling 2021-01-15 22:36:36 +01:00
parent adb9ade88d
commit 633915e792
7 changed files with 38 additions and 32 deletions

View file

@ -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);
}