aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-26 01:21:01 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-26 09:49:02 +0200
commitc52fd0a78041ec22db1c4b391556368cd8b87b02 (patch)
tree80e283b6af26f0fd7bd3d620d45be6a52d4854b4 /components/script/dom/htmlinputelement.rs
parentd29335040d78a19f25830061484cf70dc03a9c21 (diff)
downloadservo-c52fd0a78041ec22db1c4b391556368cd8b87b02.tar.gz
servo-c52fd0a78041ec22db1c4b391556368cd8b87b02.zip
Rename MutNullableJS<T> to MutNullableDom<T>
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlinputelement.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 2cb872e4908..bd714509dda 100755
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -15,7 +15,7 @@ use dom::bindings::codegen::Bindings::MouseEventBinding::MouseEventMethods;
use dom::bindings::codegen::Bindings::WindowBinding::WindowMethods;
use dom::bindings::error::{Error, ErrorResult};
use dom::bindings::inheritance::Castable;
-use dom::bindings::root::{Dom, LayoutJS, MutNullableJS, Root, RootedReference};
+use dom::bindings::root::{Dom, LayoutJS, MutNullableDom, Root, RootedReference};
use dom::bindings::str::DOMString;
use dom::document::Document;
use dom::element::{AttributeMutation, Element, LayoutElementHelpers, RawLayoutElementHelpers};
@@ -99,8 +99,8 @@ pub struct HTMLInputElement {
// https://html.spec.whatwg.org/multipage/#concept-input-value-dirty-flag
value_dirty: Cell<bool>,
- filelist: MutNullableJS<FileList>,
- form_owner: MutNullableJS<HTMLFormElement>,
+ filelist: MutNullableDom<FileList>,
+ form_owner: MutNullableDom<HTMLFormElement>,
}
#[derive(JSTraceable)]
@@ -156,7 +156,7 @@ impl HTMLInputElement {
SelectionDirection::None)),
activation_state: DOMRefCell::new(InputActivationState::new()),
value_dirty: Cell::new(false),
- filelist: MutNullableJS::new(None),
+ filelist: MutNullableDom::new(None),
form_owner: Default::default(),
}
}