1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:12:08 +00:00

LibWeb: Port DOM::Document from DeprecatedString

This commit is contained in:
Shannon Booth 2023-12-03 08:58:43 +13:00 committed by Andreas Kling
parent c4d3134436
commit f976ec005c
12 changed files with 55 additions and 55 deletions

View file

@ -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)