1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:07:45 +00:00

LibWeb: Use a callback function in ResizeObserver IDL

This commit is contained in:
Idan Horowitz 2022-03-30 23:48:45 +03:00 committed by Andreas Kling
parent b267c4178a
commit 46fa18657c
3 changed files with 5 additions and 4 deletions

View file

@ -10,7 +10,7 @@
namespace Web::ResizeObserver {
// https://drafts.csswg.org/resize-observer/#dom-resizeobserver-resizeobserver
NonnullRefPtr<ResizeObserver> ResizeObserver::create_with_global_object(JS::GlobalObject& global_object, JS::Value callback)
NonnullRefPtr<ResizeObserver> ResizeObserver::create_with_global_object(JS::GlobalObject& global_object, Bindings::CallbackType const& callback)
{
// FIXME: Implement
(void)global_object;