mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-04-04 08:30:31 +00:00
dom: nodelist: use unmanaged arraylist
This commit is contained in:
@@ -200,7 +200,7 @@ pub const Node = struct {
|
||||
|
||||
var n = try parser.nodeFirstChild(self) orelse return list;
|
||||
while (true) {
|
||||
try list.append(n);
|
||||
try list.append(alloc, n);
|
||||
n = try parser.nodeNextSibling(n) orelse return list;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user