diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/ParentNode.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/ParentNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/ParentNode.cpp b/Userland/Libraries/LibWeb/DOM/ParentNode.cpp index 924a36fdaf..904a1f4945 100644 --- a/Userland/Libraries/LibWeb/DOM/ParentNode.cpp +++ b/Userland/Libraries/LibWeb/DOM/ParentNode.cpp @@ -13,7 +13,7 @@ namespace Web::DOM { RefPtr<Element> ParentNode::query_selector(const StringView& selector_text) { - auto selector = parse_selector(CSS::ParsingContext(*this), selector_text); + auto selector = parse_selector(CSS::DeprecatedParsingContext(*this), selector_text); if (!selector.has_value()) return {}; @@ -33,7 +33,7 @@ RefPtr<Element> ParentNode::query_selector(const StringView& selector_text) NonnullRefPtrVector<Element> ParentNode::query_selector_all(const StringView& selector_text) { - auto selector = parse_selector(CSS::ParsingContext(*this), selector_text); + auto selector = parse_selector(CSS::DeprecatedParsingContext(*this), selector_text); if (!selector.has_value()) return {}; |