diff options
Diffstat (limited to 'Userland/Libraries/LibGfx/ShareableBitmap.h')
-rw-r--r-- | Userland/Libraries/LibGfx/ShareableBitmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/ShareableBitmap.h b/Userland/Libraries/LibGfx/ShareableBitmap.h index 6b8e208fb0..e9616102dd 100644 --- a/Userland/Libraries/LibGfx/ShareableBitmap.h +++ b/Userland/Libraries/LibGfx/ShareableBitmap.h @@ -15,7 +15,6 @@ namespace Gfx { class ShareableBitmap { public: ShareableBitmap() { } - explicit ShareableBitmap(const Gfx::Bitmap&); enum Tag { ConstructWithKnownGoodBitmap }; ShareableBitmap(NonnullRefPtr<Gfx::Bitmap>, Tag); @@ -26,6 +25,8 @@ public: Bitmap* bitmap() { return m_bitmap; } private: + friend class Bitmap; + RefPtr<Bitmap> m_bitmap; }; |