mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
LibWeb: Port DOM::Document from DeprecatedString
This commit is contained in:
committed by
Andreas Kling
parent
c4d3134436
commit
f976ec005c
@@ -219,7 +219,7 @@ void HTMLParser::run()
|
||||
void HTMLParser::run(const AK::URL& url)
|
||||
{
|
||||
m_document->set_url(url);
|
||||
m_document->set_source(m_tokenizer.source());
|
||||
m_document->set_source(MUST(String::from_deprecated_string(m_tokenizer.source())));
|
||||
run();
|
||||
the_end();
|
||||
m_document->detach_parser({});
|
||||
|
||||
Reference in New Issue
Block a user