mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-30 08:18:49 +00:00
LibWeb: Make Document::run_the_document_write_steps take a StringView
Which flows on down into HTMLTokenizer::insert_input_at_insertion_point.
This commit is contained in:
parent
827170f6e6
commit
49eb3bfb1d
Notes:
sideshowbarker
2024-07-17 23:07:41 +09:00
Author: https://github.com/shannonbooth
Commit: 49eb3bfb1d
Pull-request: https://github.com/SerenityOS/serenity/pull/21042
4 changed files with 6 additions and 6 deletions
|
@ -2799,7 +2799,7 @@ HTMLTokenizer::HTMLTokenizer(StringView input, DeprecatedString const& encoding)
|
|||
m_source_positions.empend(0u, 0u);
|
||||
}
|
||||
|
||||
void HTMLTokenizer::insert_input_at_insertion_point(DeprecatedString const& input)
|
||||
void HTMLTokenizer::insert_input_at_insertion_point(StringView input)
|
||||
{
|
||||
auto utf8_iterator_byte_offset = m_utf8_view.byte_offset_of(m_utf8_iterator);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue