1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibGfx: Don't expose anon_fd inside Gfx::ShareableBitmap

Nobody outside needs to see this, so let's just hide it.
This commit is contained in:
Andreas Kling 2021-01-16 11:05:19 +01:00
parent 4277be356a
commit 1a157d3f50
2 changed files with 1 additions and 3 deletions

View file

@ -39,8 +39,6 @@ public:
bool is_valid() const { return m_bitmap; }
int anon_fd() const { return m_bitmap ? m_bitmap->anon_fd() : -1; }
const Bitmap* bitmap() const { return m_bitmap; }
Bitmap* bitmap() { return m_bitmap; }