1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-12 02:30:30 +09:00

LibGfx+LibWebView+UI: Store Gfx::Bitmap in RefPtr to const

This commit is contained in:
Andrew Kaster 2025-04-15 15:50:18 -06:00 committed by Andrew Kaster
parent be2dd91289
commit 91b549f797
Notes: github-actions[bot] 2025-04-16 16:44:09 +00:00
8 changed files with 15 additions and 15 deletions

View file

@ -95,7 +95,7 @@ void WebViewBridge::enqueue_input_event(Web::KeyEvent event)
Optional<WebViewBridge::Paintable> WebViewBridge::paintable()
{
Gfx::Bitmap* bitmap = nullptr;
Gfx::Bitmap const* bitmap = nullptr;
Gfx::IntSize bitmap_size;
if (m_client_state.has_usable_bitmap) {