mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -7,7 +7,7 @@ use dom::bindings::codegen::Bindings::HTMLTemplateElementBinding;
|
|||
use dom::bindings::codegen::Bindings::HTMLTemplateElementBinding::HTMLTemplateElementMethods;
|
||||
use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::root::{MutNullableJS, Root};
|
||||
use dom::bindings::root::{MutNullableDom, Root};
|
||||
use dom::document::Document;
|
||||
use dom::documentfragment::DocumentFragment;
|
||||
use dom::htmlelement::HTMLElement;
|
||||
|
@ -21,7 +21,7 @@ pub struct HTMLTemplateElement {
|
|||
htmlelement: HTMLElement,
|
||||
|
||||
/// https://html.spec.whatwg.org/multipage/#template-contents
|
||||
contents: MutNullableJS<DocumentFragment>,
|
||||
contents: MutNullableDom<DocumentFragment>,
|
||||
}
|
||||
|
||||
impl HTMLTemplateElement {
|
||||
|
@ -31,7 +31,7 @@ impl HTMLTemplateElement {
|
|||
HTMLTemplateElement {
|
||||
htmlelement:
|
||||
HTMLElement::new_inherited(local_name, prefix, document),
|
||||
contents: MutNullableJS::new(None),
|
||||
contents: MutNullableDom::new(None),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue