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:
Sam Atkins 2024-12-05 11:08:58 +00:00 committed by Alexander Kalenik
commit ee9db99961
Notes: github-actions[bot] 2024-12-05 19:00:48 +00:00
4 changed files with 9 additions and 9 deletions

View file

@ -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);
}
}