LibWeb/CSS: Remove tiny-oom propagation from CSS Tokenizer

This commit is contained in:
Sam Atkins 2024-07-26 15:11:57 +01:00 committed by Andreas Kling
commit 89c5f25016
Notes: github-actions[bot] 2024-07-26 15:30:20 +00:00
4 changed files with 76 additions and 76 deletions

View file

@ -45,7 +45,7 @@ void SyntaxHighlighter::rehighlight(Palette const& palette)
false);
};
auto tokens = CSS::Parser::Tokenizer::tokenize(text, "utf-8"sv).release_value_but_fixme_should_propagate_errors();
auto tokens = CSS::Parser::Tokenizer::tokenize(text, "utf-8"sv);
for (auto const& token : tokens) {
if (token.is(Parser::Token::Type::EndOfFile))
break;