mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-08 16:12:23 +02:00
LibDraw: Rename ImageLoader => ImageDecoder
ImageLoader was not the right name for this, as there is no loading happening, only decoding. :^)
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 11:37:53 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f970578cd4e
@@ -34,7 +34,7 @@ void HTMLImageElement::load_image(const String& src)
|
||||
}
|
||||
|
||||
m_image_data = data;
|
||||
m_image_loader = ImageLoader::create(m_image_data.data(), m_image_data.size());
|
||||
m_image_loader = ImageDecoder::create(m_image_data.data(), m_image_data.size());
|
||||
document().update_layout();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user