mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Rename MutNullableJS<T> to MutNullableDom<T>
This commit is contained in:
parent
d29335040d
commit
c52fd0a780
63 changed files with 232 additions and 232 deletions
|
@ -6,7 +6,7 @@ use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
|
|||
use dom::bindings::codegen::Bindings::NodeListBinding;
|
||||
use dom::bindings::codegen::Bindings::NodeListBinding::NodeListMethods;
|
||||
use dom::bindings::reflector::{Reflector, reflect_dom_object};
|
||||
use dom::bindings::root::{Dom, MutNullableJS, Root, RootedReference};
|
||||
use dom::bindings::root::{Dom, MutNullableDom, Root, RootedReference};
|
||||
use dom::node::{ChildrenMutation, Node};
|
||||
use dom::window::Window;
|
||||
use dom_struct::dom_struct;
|
||||
|
@ -114,7 +114,7 @@ impl NodeList {
|
|||
pub struct ChildrenList {
|
||||
node: Dom<Node>,
|
||||
#[ignore_heap_size_of = "Defined in rust-mozjs"]
|
||||
last_visited: MutNullableJS<Node>,
|
||||
last_visited: MutNullableDom<Node>,
|
||||
last_index: Cell<u32>,
|
||||
}
|
||||
|
||||
|
@ -123,7 +123,7 @@ impl ChildrenList {
|
|||
let last_visited = node.GetFirstChild();
|
||||
ChildrenList {
|
||||
node: Dom::from_ref(node),
|
||||
last_visited: MutNullableJS::new(last_visited.r()),
|
||||
last_visited: MutNullableDom::new(last_visited.r()),
|
||||
last_index: Cell::new(0u32),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue