mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
auto merge of #5511 : Ms2ger/servo/int, r=jdm
This commit is contained in:
commit
036b3eaa04
12 changed files with 23 additions and 24 deletions
|
@ -339,7 +339,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
|
|||
let elements = entry.into_mut();
|
||||
|
||||
let new_node: JSRef<Node> = NodeCast::from_ref(element);
|
||||
let mut head: uint = 0u;
|
||||
let mut head: usize = 0;
|
||||
let root: JSRef<Node> = NodeCast::from_ref(root.r());
|
||||
for node in root.traverse_preorder() {
|
||||
let elem: Option<JSRef<Element>> = ElementCast::to_ref(node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue