mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
LibHTML: Rename HTMLImageElement::m_image_data => m_encoded_data
This commit is contained in:
parent
61f2704d58
commit
adb1870628
2 changed files with 3 additions and 3 deletions
|
@ -33,8 +33,8 @@ void HTMLImageElement::load_image(const String& src)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_image_data = data;
|
m_encoded_data = data;
|
||||||
m_image_decoder = ImageDecoder::create(m_image_data.data(), m_image_data.size());
|
m_image_decoder = ImageDecoder::create(m_encoded_data.data(), m_encoded_data.size());
|
||||||
document().update_layout();
|
document().update_layout();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,5 +26,5 @@ private:
|
||||||
|
|
||||||
RefPtr<ImageDecoder> m_image_decoder;
|
RefPtr<ImageDecoder> m_image_decoder;
|
||||||
mutable RefPtr<GraphicsBitmap> m_bitmap;
|
mutable RefPtr<GraphicsBitmap> m_bitmap;
|
||||||
ByteBuffer m_image_data;
|
ByteBuffer m_encoded_data;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue