mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 09:01:53 +00:00
LibWeb: Use WebIDL types for IDL exposed attributes
This commit is contained in:
parent
306c7b8211
commit
5b4644d198
Notes:
github-actions[bot]
2025-05-08 14:13:09 +00:00
Author: https://github.com/kennethmyhra
Commit: 5b4644d198
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4596
Reviewed-by: https://github.com/shannonbooth ✅
2 changed files with 5 additions and 4 deletions
|
@ -143,12 +143,12 @@ void ImageData::visit_edges(Cell::Visitor& visitor)
|
|||
visitor.visit(m_data);
|
||||
}
|
||||
|
||||
unsigned ImageData::width() const
|
||||
WebIDL::UnsignedLong ImageData::width() const
|
||||
{
|
||||
return m_bitmap->width();
|
||||
}
|
||||
|
||||
unsigned ImageData::height() const
|
||||
WebIDL::UnsignedLong ImageData::height() const
|
||||
{
|
||||
return m_bitmap->height();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue