mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Rename MutJS<T> to MutDom<T>
This commit is contained in:
parent
7be32fb237
commit
d29335040d
12 changed files with 45 additions and 45 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::{Dom, MutJS, Root, RootedReference};
|
||||
use dom::bindings::root::{Dom, MutDom, Root, RootedReference};
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::bindings::trace::JSTraceable;
|
||||
use dom::bindings::weakref::{WeakRef, WeakRefVec};
|
||||
|
@ -933,7 +933,7 @@ impl RangeMethods for Range {
|
|||
#[derive(DenyPublicFields, HeapSizeOf, JSTraceable)]
|
||||
#[must_root]
|
||||
pub struct BoundaryPoint {
|
||||
node: MutJS<Node>,
|
||||
node: MutDom<Node>,
|
||||
offset: Cell<u32>,
|
||||
}
|
||||
|
||||
|
@ -942,7 +942,7 @@ impl BoundaryPoint {
|
|||
debug_assert!(!node.is_doctype());
|
||||
debug_assert!(offset <= node.len());
|
||||
BoundaryPoint {
|
||||
node: MutJS::new(node),
|
||||
node: MutDom::new(node),
|
||||
offset: Cell::new(offset),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue