mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 06:39:07 +00:00
LibWeb: Port DOM::Document from DeprecatedString
This commit is contained in:
parent
c4d3134436
commit
f976ec005c
Notes:
sideshowbarker
2024-07-17 07:11:12 +09:00
Author: https://github.com/shannonbooth
Commit: f976ec005c
Pull-request: https://github.com/SerenityOS/serenity/pull/22134
12 changed files with 55 additions and 55 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue