mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
LibWeb: Port Node interface from DeprecatedString to String
Which is fortunately quite straight forward :^)
This commit is contained in:
parent
a76ef04ae6
commit
8ce9e51c97
Notes:
sideshowbarker
2024-07-17 01:46:00 +09:00
Author: https://github.com/shannonbooth
Commit: 8ce9e51c97
Pull-request: https://github.com/SerenityOS/serenity/pull/21116
21 changed files with 50 additions and 45 deletions
|
@ -144,7 +144,7 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho
|
|||
else if (is<DOM::Element>(layout_node.dom_node()))
|
||||
tag_name = verify_cast<DOM::Element>(*layout_node.dom_node()).local_name();
|
||||
else
|
||||
tag_name = layout_node.dom_node()->node_name();
|
||||
tag_name = layout_node.dom_node()->node_name().to_deprecated_fly_string();
|
||||
|
||||
DeprecatedString identifier = "";
|
||||
if (layout_node.dom_node() && is<DOM::Element>(*layout_node.dom_node())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue