mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Everywhere: Pass AK::ReadonlyBytes by value
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 01:17:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/80d4e830a0a
@@ -20,7 +20,7 @@ void Client::die()
|
||||
on_death();
|
||||
}
|
||||
|
||||
Optional<DecodedImage> Client::decode_image(const ReadonlyBytes& encoded_data)
|
||||
Optional<DecodedImage> Client::decode_image(ReadonlyBytes encoded_data)
|
||||
{
|
||||
if (encoded_data.is_empty())
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user