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

@ -48,7 +48,7 @@ static NonnullRefPtr<CSSStyleValue const> with_keyword_values_resolved(DOM::Elem
case CSS::Keyword::Unset:
return property_initial_value(property_id);
case CSS::Keyword::Inherit:
return CSS::StyleComputer::get_inherit_value(element.realm(), property_id, &element);
return CSS::StyleComputer::get_inherit_value(property_id, &element);
default:
break;
}