diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-02-14 20:03:49 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-02-15 12:48:26 -0500 |
commit | a381ce9519bd1098ed14fe495d830bafe5a3a49b (patch) | |
tree | 9a1209a6a94a361cb3ab788b640ae21ee0bfc9a7 /Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | |
parent | fc3540c4b15be1123239dbe01d1f39a2a6d5a08b (diff) | |
download | serenity-a381ce9519bd1098ed14fe495d830bafe5a3a49b.zip |
LibWeb: Port CSS::Supports to new Strings
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index d3f852cfa8..9e43248edf 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -1395,7 +1395,7 @@ Optional<Supports::Feature> Parser::parse_supports_feature(TokenStream<Component if (auto declaration = consume_a_declaration(block_tokens); declaration.has_value()) { transaction.commit(); return Supports::Feature { - Supports::Declaration { declaration->to_string().release_value_but_fixme_should_propagate_errors().to_deprecated_string() } + Supports::Declaration { declaration->to_string().release_value_but_fixme_should_propagate_errors() } }; } } @@ -1408,7 +1408,7 @@ Optional<Supports::Feature> Parser::parse_supports_feature(TokenStream<Component builder.append(item.to_string().release_value_but_fixme_should_propagate_errors()); transaction.commit(); return Supports::Feature { - Supports::Selector { builder.to_deprecated_string() } + Supports::Selector { builder.to_string().release_value_but_fixme_should_propagate_errors() } }; } |