LibGfx: Remove the unused Bitmap::set_mmap_name()

This commit is contained in:
Andreas Kling 2024-04-27 17:34:55 +02:00
commit 0967bdad02
Notes: sideshowbarker 2024-07-16 20:08:14 +09:00
2 changed files with 0 additions and 10 deletions

View file

@ -565,14 +565,6 @@ void Bitmap::strip_alpha_channel()
m_format = BitmapFormat::BGRx8888;
}
void Bitmap::set_mmap_name([[maybe_unused]] ByteString const& name)
{
VERIFY(m_needs_munmap);
#ifdef AK_OS_SERENITY
::set_mmap_name(m_data, size_in_bytes(), name.characters());
#endif
}
void Bitmap::fill(Color color)
{
for (int y = 0; y < physical_height(); ++y) {