mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibWeb: Pass ResizeObserver instance as a second argument to callback
This commit is contained in:
committed by
Alexander Kalenik
parent
1cc9fb6135
commit
ad15edf2ff
Notes:
github-actions[bot]
2025-09-08 16:41:18 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/ad15edf2ffd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6117 Reviewed-by: https://github.com/tcl3
@@ -116,7 +116,7 @@ void ResizeObserver::invoke_callback(ReadonlySpan<GC::Ref<ResizeObserverEntry>>
|
||||
MUST(wrapped_records->create_data_property(property_index, record.ptr()));
|
||||
}
|
||||
|
||||
(void)WebIDL::invoke_callback(callback, this, WebIDL::ExceptionBehavior::Report, { { wrapped_records } });
|
||||
(void)WebIDL::invoke_callback(callback, this, WebIDL::ExceptionBehavior::Report, { { wrapped_records, this } });
|
||||
}
|
||||
|
||||
void ResizeObserver::unregister_observer_if_needed()
|
||||
|
||||
Reference in New Issue
Block a user