LibJS: Set length property in Object::put_native_function()

This commit is contained in:
Linus Groh 2020-04-04 14:13:53 +01:00 committed by Andreas Kling
commit cd3e2690eb
Notes: sideshowbarker 2024-07-19 07:56:28 +09:00
14 changed files with 25 additions and 23 deletions

View file

@ -44,7 +44,7 @@ CanvasRenderingContext2DWrapper::CanvasRenderingContext2DWrapper(CanvasRendering
: m_impl(impl)
{
put_native_property("fillStyle", fill_style_getter, fill_style_setter);
put_native_function("fillRect", fill_rect);
put_native_function("fillRect", fill_rect, 4);
}
CanvasRenderingContext2DWrapper::~CanvasRenderingContext2DWrapper()