mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb/CSS: Remove tiny-oom propagation from CSS Tokenizer
This commit is contained in:
parent
22969a8e92
commit
89c5f25016
Notes:
github-actions[bot]
2024-07-26 15:30:20 +00:00
Author: https://github.com/AtkinsSJ
Commit: 89c5f25016
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/846
4 changed files with 76 additions and 76 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue