mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 12:12:53 +00: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:
parent
02e787f8a4
commit
f970578cd4
Notes:
sideshowbarker
2024-07-19 11:37:53 +09:00
Author: https://github.com/awesomekling
Commit: f970578cd4
8 changed files with 32 additions and 32 deletions
11
Libraries/LibDraw/ImageDecoder.cpp
Normal file
11
Libraries/LibDraw/ImageDecoder.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include <LibDraw/ImageDecoder.h>
|
||||
#include <LibDraw/PNGLoader.h>
|
||||
|
||||
ImageDecoder::ImageDecoder(const u8* data, size_t size)
|
||||
{
|
||||
m_plugin = make<PNGImageDecoderPlugin>(data, size);
|
||||
}
|
||||
|
||||
ImageDecoder::~ImageDecoder()
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue