mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00:00
commit
59cef940e8
7 changed files with 143 additions and 143 deletions
|
@ -436,9 +436,9 @@ pub fn parse_html(page: &Page,
|
|||
append_child: |parent: hubbub::NodeDataPtr, child: hubbub::NodeDataPtr| {
|
||||
unsafe {
|
||||
debug!("append child {:x} {:x}", parent, child);
|
||||
let mut child = from_hubbub_node(child).root();
|
||||
let mut parent: Root<Node> = from_hubbub_node(parent).root();
|
||||
assert!(parent.AppendChild(&mut *child).is_ok());
|
||||
let child: Root<Node> = from_hubbub_node(child).root();
|
||||
let parent: Root<Node> = from_hubbub_node(parent).root();
|
||||
assert!(parent.deref().AppendChild(&*child).is_ok());
|
||||
}
|
||||
child
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue