1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 14:15:07 +00:00

LibHTML: Rename HTMLImageElement::m_image_loader => m_image_decoder

This matches the new class name, ImageDecoder.
This commit is contained in:
Andreas Kling 2019-10-20 10:39:59 +02:00
parent 58f67c1ccb
commit 457e49f528
3 changed files with 10 additions and 10 deletions

View file

@ -17,14 +17,14 @@ public:
int preferred_height() const;
const GraphicsBitmap* bitmap() const;
const ImageDecoder* image_loader() const { return m_image_loader; }
const ImageDecoder* image_decoder() const { return m_image_decoder; }
private:
void load_image(const String& src);
virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override;
RefPtr<ImageDecoder> m_image_loader;
RefPtr<ImageDecoder> m_image_decoder;
mutable RefPtr<GraphicsBitmap> m_bitmap;
ByteBuffer m_image_data;
};