mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
LibGfx: Store Core::Resources in RefPtr to const
This commit is contained in:
parent
d1f6f5649e
commit
ffd0259bef
Notes:
github-actions[bot]
2025-04-16 16:44:21 +00:00
Author: https://github.com/ADKaster
Commit: ffd0259bef
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4362
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/Hendiadyoin1
2 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ FontData::FontData(ByteBuffer&& byte_buffer)
|
|||
{
|
||||
}
|
||||
|
||||
FontData::FontData(NonnullRefPtr<Core::Resource> resource)
|
||||
FontData::FontData(NonnullRefPtr<Core::Resource const> resource)
|
||||
: m_data(move(resource))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue