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

Everywhere: Remove the AK:: qualifier from Stream usages

This commit is contained in:
Tim Schumacher 2023-02-10 01:00:18 +01:00 committed by Linus Groh
parent 874c7bba28
commit 43f98ac6e1
Notes: sideshowbarker 2024-07-17 02:06:40 +09:00
73 changed files with 275 additions and 278 deletions

View file

@ -75,7 +75,7 @@ struct ICOLoadingContext {
size_t largest_index;
};
static ErrorOr<size_t> decode_ico_header(AK::Stream& stream)
static ErrorOr<size_t> decode_ico_header(Stream& stream)
{
auto header = TRY(stream.read_value<ICONDIR>());
if (header.must_be_0 != 0 || header.must_be_1 != 1)
@ -83,7 +83,7 @@ static ErrorOr<size_t> decode_ico_header(AK::Stream& stream)
return { header.image_count };
}
static ErrorOr<ICOImageDescriptor> decode_ico_direntry(AK::Stream& stream)
static ErrorOr<ICOImageDescriptor> decode_ico_direntry(Stream& stream)
{
auto entry = TRY(stream.read_value<ICONDIRENTRY>());
ICOImageDescriptor desc = { entry.width, entry.height, entry.bits_per_pixel, entry.offset, entry.size, nullptr };