mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
Everywhere: Stop using NonnullOwnPtrVector
Same as NonnullRefPtrVector: weird semantics, questionable benefits.
This commit is contained in:
parent
689ca370d4
commit
359d6e7b0b
111 changed files with 517 additions and 503 deletions
|
@ -95,7 +95,7 @@ void Parser::append_text(StringView text)
|
|||
m_entered_node->content.visit(
|
||||
[&](Node::Element& node) {
|
||||
if (!node.children.is_empty()) {
|
||||
auto* text_node = node.children.last().content.get_pointer<Node::Text>();
|
||||
auto* text_node = node.children.last()->content.get_pointer<Node::Text>();
|
||||
if (text_node) {
|
||||
text_node->builder.append(text);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue