mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
UI/Qt: Store TVG Image Data in a RefPtr to const
We don't need to mutate this data after it's loaded.
This commit is contained in:
parent
42fc36a9f2
commit
db73b26292
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ private:
|
|||
QString pixmap_cache_key(QSize const& size, QIcon::Mode mode, QIcon::State state);
|
||||
|
||||
Vector<NonnullRefPtr<Filter>> m_filters;
|
||||
NonnullRefPtr<Gfx::TinyVGDecodedImageData> m_image_data;
|
||||
NonnullRefPtr<Gfx::TinyVGDecodedImageData const> m_image_data;
|
||||
unsigned m_cache_id { next_cache_id() };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue