mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Unload fonts when adopted style sheet is removed
Add missing unloading step that we do for regular style sheets but mistakenly missed for adopted style sheets.
This commit is contained in:
parent
0d92cd1f36
commit
cf57efd252
Notes:
github-actions[bot]
2025-01-10 16:13:44 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: cf57efd252
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3215
3 changed files with 15 additions and 4 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
virtual JS::ThrowCompletionOr<bool> internal_delete(JS::PropertyKey const& property_key) override;
|
||||
|
||||
using SetAnIndexedValueCallbackFunction = Function<ExceptionOr<void>(JS::Value&)>;
|
||||
using DeleteAnIndexedValueCallbackFunction = Function<ExceptionOr<void>()>;
|
||||
using DeleteAnIndexedValueCallbackFunction = Function<ExceptionOr<void>(JS::Value)>;
|
||||
|
||||
void set_on_set_an_indexed_value_callback(SetAnIndexedValueCallbackFunction&& callback);
|
||||
void set_on_delete_an_indexed_value_callback(DeleteAnIndexedValueCallbackFunction&& callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue