LibWeb: Use WebIDL types for IDL exposed attributes

This commit is contained in:
Kenneth Myhra 2025-05-07 12:43:03 +02:00 committed by Shannon Booth
parent 306c7b8211
commit 5b4644d198
Notes: github-actions[bot] 2025-05-08 14:13:09 +00:00
2 changed files with 5 additions and 4 deletions

View file

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