1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:15:07 +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

@ -526,7 +526,7 @@ static WebIDL::ExceptionOr<DeprecatedString> serialize_element(DOM::Element cons
auto inherited_ns = namespace_;
// 10. Let ns be the value of node's namespaceURI attribute.
auto const& ns = element.namespace_uri();
auto const& ns = element.namespace_();
// 11. If inherited ns is equal to ns, then:
if (inherited_ns == ns) {