diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 01:21:01 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 09:49:02 +0200 |
commit | c52fd0a78041ec22db1c4b391556368cd8b87b02 (patch) | |
tree | 80e283b6af26f0fd7bd3d620d45be6a52d4854b4 /components/script/dom/node.rs | |
parent | d29335040d78a19f25830061484cf70dc03a9c21 (diff) | |
download | servo-c52fd0a78041ec22db1c4b391556368cd8b87b02.tar.gz servo-c52fd0a78041ec22db1c4b391556368cd8b87b02.zip |
Rename MutNullableJS<T> to MutNullableDom<T>
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index f3cf9728b72..2ce11daeb0f 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -23,7 +23,7 @@ use dom::bindings::inheritance::{Castable, CharacterDataTypeId, ElementTypeId}; use dom::bindings::inheritance::{EventTargetTypeId, HTMLElementTypeId, NodeTypeId}; use dom::bindings::inheritance::{SVGElementTypeId, SVGGraphicsElementTypeId}; use dom::bindings::reflector::{DomObject, reflect_dom_object}; -use dom::bindings::root::{Dom, LayoutJS, MutNullableJS, Root, RootedReference}; +use dom::bindings::root::{Dom, LayoutJS, MutNullableDom, Root, RootedReference}; use dom::bindings::str::{DOMString, USVString}; use dom::bindings::xmlname::namespace_from_domstring; use dom::characterdata::{CharacterData, LayoutCharacterDataHelpers}; @@ -98,25 +98,25 @@ pub struct Node { eventtarget: EventTarget, /// The parent of this node. - parent_node: MutNullableJS<Node>, + parent_node: MutNullableDom<Node>, /// The first child of this node. - first_child: MutNullableJS<Node>, + first_child: MutNullableDom<Node>, /// The last child of this node. - last_child: MutNullableJS<Node>, + last_child: MutNullableDom<Node>, /// The next sibling of this node. - next_sibling: MutNullableJS<Node>, + next_sibling: MutNullableDom<Node>, /// The previous sibling of this node. - prev_sibling: MutNullableJS<Node>, + prev_sibling: MutNullableDom<Node>, /// The document that this node belongs to. - owner_doc: MutNullableJS<Document>, + owner_doc: MutNullableDom<Document>, /// The live list of children return by .childNodes. - child_list: MutNullableJS<NodeList>, + child_list: MutNullableDom<NodeList>, /// The live count of children of this node. children_count: Cell<u32>, @@ -1407,7 +1407,7 @@ impl Node { last_child: Default::default(), next_sibling: Default::default(), prev_sibling: Default::default(), - owner_doc: MutNullableJS::new(doc), + owner_doc: MutNullableDom::new(doc), child_list: Default::default(), children_count: Cell::new(0u32), flags: Cell::new(flags), |