mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 07:09:47 +00:00
LibGfx+LibWebView+UI: Store Gfx::Bitmap in RefPtr to const
This commit is contained in:
parent
be2dd91289
commit
91b549f797
Notes:
github-actions[bot]
2025-04-16 16:44:09 +00:00
Author: https://github.com/ADKaster
Commit: 91b549f797
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4362
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/Hendiadyoin1
8 changed files with 15 additions and 15 deletions
|
@ -267,7 +267,7 @@ protected:
|
|||
struct SharedBitmap {
|
||||
i32 id { -1 };
|
||||
Web::DevicePixelSize last_painted_size;
|
||||
RefPtr<Gfx::Bitmap> bitmap;
|
||||
RefPtr<Gfx::Bitmap const> bitmap;
|
||||
};
|
||||
|
||||
struct ClientState {
|
||||
|
@ -289,7 +289,7 @@ protected:
|
|||
|
||||
RefPtr<Core::Timer> m_backing_store_shrink_timer;
|
||||
|
||||
RefPtr<Gfx::Bitmap> m_backup_bitmap;
|
||||
RefPtr<Gfx::Bitmap const> m_backup_bitmap;
|
||||
Web::DevicePixelSize m_backup_bitmap_size;
|
||||
|
||||
size_t m_crash_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue