mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
LibHTML: Rename HTMLImageElement::m_image_data => m_encoded_data
This commit is contained in:
parent
61f2704d58
commit
adb1870628
Notes:
sideshowbarker
2024-07-19 10:53:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/adb1870628b
@ -33,8 +33,8 @@ void HTMLImageElement::load_image(const String& src)
|
||||
return;
|
||||
}
|
||||
|
||||
m_image_data = data;
|
||||
m_image_decoder = ImageDecoder::create(m_image_data.data(), m_image_data.size());
|
||||
m_encoded_data = data;
|
||||
m_image_decoder = ImageDecoder::create(m_encoded_data.data(), m_encoded_data.size());
|
||||
document().update_layout();
|
||||
});
|
||||
}
|
||||
|
@ -26,5 +26,5 @@ private:
|
||||
|
||||
RefPtr<ImageDecoder> m_image_decoder;
|
||||
mutable RefPtr<GraphicsBitmap> m_bitmap;
|
||||
ByteBuffer m_image_data;
|
||||
ByteBuffer m_encoded_data;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user