LibHTML: Rename HTMLImageElement::m_image_data => m_encoded_data

This commit is contained in:
Andreas Kling 2019-12-11 18:30:42 +01:00
parent 61f2704d58
commit adb1870628
Notes: sideshowbarker 2024-07-19 10:53:03 +09:00
2 changed files with 3 additions and 3 deletions

View File

@ -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();
});
}

View File

@ -26,5 +26,5 @@ private:
RefPtr<ImageDecoder> m_image_decoder;
mutable RefPtr<GraphicsBitmap> m_bitmap;
ByteBuffer m_image_data;
ByteBuffer m_encoded_data;
};