LibWeb: Make CanvasImageSource also be an ImageBitmap

This commit is contained in:
Lucas CHOLLET 2024-04-05 09:15:45 -04:00 committed by Andreas Kling
parent af3a73c0a4
commit 94128fe027
Notes: sideshowbarker 2024-07-17 02:39:10 +09:00
8 changed files with 24 additions and 5 deletions

View file

@ -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();
}
}