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:
parent
3bd04d2c58
commit
fc7f79e0e7
4 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue