1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:08:11 +00:00

LibWeb: Use Element::namespace_ instead of ELement::namespace_uri

These are equivalent, and should make our lives a little eaiser porting
over this IDL interface to new String.
This commit is contained in:
Shannon Booth 2023-09-21 20:00:59 +12:00 committed by Andreas Kling
parent 3bd04d2c58
commit fc7f79e0e7
4 changed files with 6 additions and 6 deletions

View file

@ -277,7 +277,7 @@ StyleComputer::RuleCache const& StyleComputer::rule_cache_for_cascade_origin(Cas
{
// FIXME: Filter out non-default namespace using prefixes
auto namespace_uri = rule.sheet->default_namespace();
if (namespace_uri.has_value() && namespace_uri.value() != element.namespace_uri()) {
if (namespace_uri.has_value() && namespace_uri.value() != element.namespace_()) {
return false;
}
return true;