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

@ -127,7 +127,7 @@ public:
};
static void for_each_property_expanding_shorthands(PropertyID, CSSStyleValue const&, AllowUnresolved, Function<void(PropertyID, CSSStyleValue const&)> const& set_longhand_property);
static void set_property_expanding_shorthands(StyleProperties&, PropertyID, CSSStyleValue const&, CSS::CSSStyleDeclaration const*, StyleProperties const& style_for_revert, StyleProperties const& style_for_revert_layer, Important = Important::No);
static NonnullRefPtr<CSSStyleValue const> get_inherit_value(JS::Realm& initial_value_context_realm, CSS::PropertyID, DOM::Element const*, Optional<CSS::Selector::PseudoElement::Type> = {});
static NonnullRefPtr<CSSStyleValue const> get_inherit_value(CSS::PropertyID, DOM::Element const*, Optional<CSS::Selector::PseudoElement::Type> = {});
static Optional<String> user_agent_style_sheet_source(StringView name);