mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
LibWeb: Remove unused Realm arg from StyleComputer::get_inherit_value()
We no longer need this now that property_initial_value() doesn't take a Realm.
This commit is contained in:
parent
2c3c821305
commit
ee9db99961
Notes:
github-actions[bot]
2024-12-05 19:00:48 +00:00
Author: https://github.com/AtkinsSJ
Commit: ee9db99961
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2783
4 changed files with 9 additions and 9 deletions
|
@ -945,7 +945,7 @@ void KeyframeEffect::update_style_properties()
|
|||
|
||||
for (auto i = to_underlying(CSS::first_property_id); i <= to_underlying(CSS::last_property_id); ++i) {
|
||||
if (element_style->is_property_inherited(static_cast<CSS::PropertyID>(i))) {
|
||||
auto new_value = CSS::StyleComputer::get_inherit_value(document.realm(), static_cast<CSS::PropertyID>(i), &element);
|
||||
auto new_value = CSS::StyleComputer::get_inherit_value(static_cast<CSS::PropertyID>(i), &element);
|
||||
element_style->set_property(static_cast<CSS::PropertyID>(i), *new_value, CSS::StyleProperties::Inherited::Yes);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue