mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibWeb: Make CanvasImageSource also be an ImageBitmap
This commit is contained in:
committed by
Andreas Kling
parent
af3a73c0a4
commit
94128fe027
@@ -104,4 +104,9 @@ void ImageBitmap::set_bitmap(RefPtr<Gfx::Bitmap> bitmap)
|
||||
m_height = m_bitmap->height();
|
||||
}
|
||||
|
||||
Gfx::Bitmap* ImageBitmap::bitmap() const
|
||||
{
|
||||
return m_bitmap.ptr();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user