mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibWeb: Port DOM::Document from DeprecatedString
This commit is contained in:
committed by
Andreas Kling
parent
c4d3134436
commit
f976ec005c
@@ -47,7 +47,7 @@ XMLDocumentBuilder::XMLDocumentBuilder(DOM::Document& document, XMLScriptingSupp
|
||||
|
||||
void XMLDocumentBuilder::set_source(DeprecatedString source)
|
||||
{
|
||||
m_document->set_source(move(source));
|
||||
m_document->set_source(MUST(String::from_deprecated_string(source)));
|
||||
}
|
||||
|
||||
void XMLDocumentBuilder::element_start(const XML::Name& name, HashMap<XML::Name, DeprecatedString> const& attributes)
|
||||
|
||||
Reference in New Issue
Block a user