mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Rename JS<T> to Dom<T>
This commit is contained in:
parent
0e3c54c191
commit
7be32fb237
96 changed files with 494 additions and 494 deletions
|
@ -14,7 +14,7 @@ use dom::bindings::error::{Error, ErrorResult, Fallible};
|
|||
use dom::bindings::inheritance::{CharacterDataTypeId, NodeTypeId};
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::reflector::{Reflector, reflect_dom_object};
|
||||
use dom::bindings::root::{JS, MutJS, Root, RootedReference};
|
||||
use dom::bindings::root::{Dom, MutJS, Root, RootedReference};
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::bindings::trace::JSTraceable;
|
||||
use dom::bindings::weakref::{WeakRef, WeakRefVec};
|
||||
|
@ -770,7 +770,7 @@ impl RangeMethods for Range {
|
|||
let mut next = iter.next();
|
||||
while let Some(child) = next {
|
||||
if self.contains(&child) {
|
||||
contained_children.push(JS::from_ref(&*child));
|
||||
contained_children.push(Dom::from_ref(&*child));
|
||||
next = iter.next_skipping_children();
|
||||
} else {
|
||||
next = iter.next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue