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/htmlcollection.rs | |
parent | d29335040d78a19f25830061484cf70dc03a9c21 (diff) | |
download | servo-c52fd0a78041ec22db1c4b391556368cd8b87b02.tar.gz servo-c52fd0a78041ec22db1c4b391556368cd8b87b02.zip |
Rename MutNullableJS<T> to MutNullableDom<T>
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r-- | components/script/dom/htmlcollection.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs index c99e794a0e5..dd8a62617db 100644 --- a/components/script/dom/htmlcollection.rs +++ b/components/script/dom/htmlcollection.rs @@ -6,7 +6,7 @@ use dom::bindings::codegen::Bindings::HTMLCollectionBinding; use dom::bindings::codegen::Bindings::HTMLCollectionBinding::HTMLCollectionMethods; use dom::bindings::inheritance::Castable; use dom::bindings::reflector::{Reflector, reflect_dom_object}; -use dom::bindings::root::{Dom, Root, MutNullableJS}; +use dom::bindings::root::{Dom, Root, MutNullableDom}; use dom::bindings::str::DOMString; use dom::bindings::trace::JSTraceable; use dom::bindings::xmlname::namespace_from_domstring; @@ -60,7 +60,7 @@ pub struct HTMLCollection { // the length of the collection, and a cursor into the collection. // FIXME: make the cached cursor element a weak pointer cached_version: Cell<u64>, - cached_cursor_element: MutNullableJS<Element>, + cached_cursor_element: MutNullableDom<Element>, cached_cursor_index: Cell<OptionU32>, cached_length: Cell<OptionU32>, } @@ -74,7 +74,7 @@ impl HTMLCollection { filter: filter, // Default values for the cache cached_version: Cell::new(root.inclusive_descendants_version()), - cached_cursor_element: MutNullableJS::new(None), + cached_cursor_element: MutNullableDom::new(None), cached_cursor_index: Cell::new(OptionU32::none()), cached_length: Cell::new(OptionU32::none()), } |