mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 16:49:54 +00:00
LibGfx: Remove the unused Bitmap::set_mmap_name()
This commit is contained in:
parent
17fc995ee4
commit
0967bdad02
Notes:
sideshowbarker
2024-07-16 20:08:14 +09:00
Author: https://github.com/awesomekling
Commit: 0967bdad02
Pull-request: https://github.com/SerenityOS/serenity/pull/24153
2 changed files with 0 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue