diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 00:16:22 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 09:49:00 +0200 |
commit | d29335040d78a19f25830061484cf70dc03a9c21 (patch) | |
tree | bac565ff8784a124a385632a3b0680c326510d93 /components/script/dom/touchevent.rs | |
parent | 7be32fb2371a14ba61b008a37e79761f66c073c7 (diff) | |
download | servo-d29335040d78a19f25830061484cf70dc03a9c21.tar.gz servo-d29335040d78a19f25830061484cf70dc03a9c21.zip |
Rename MutJS<T> to MutDom<T>
Diffstat (limited to 'components/script/dom/touchevent.rs')
-rw-r--r-- | components/script/dom/touchevent.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/script/dom/touchevent.rs b/components/script/dom/touchevent.rs index 4c29bc48445..92ff9bf0424 100644 --- a/components/script/dom/touchevent.rs +++ b/components/script/dom/touchevent.rs @@ -7,7 +7,7 @@ use dom::bindings::codegen::Bindings::TouchEventBinding::TouchEventMethods; use dom::bindings::codegen::Bindings::UIEventBinding::UIEventMethods; use dom::bindings::inheritance::Castable; use dom::bindings::reflector::reflect_dom_object; -use dom::bindings::root::{MutJS, Root}; +use dom::bindings::root::{MutDom, Root}; use dom::bindings::str::DOMString; use dom::event::{EventBubbles, EventCancelable}; use dom::touchlist::TouchList; @@ -19,9 +19,9 @@ use std::cell::Cell; #[dom_struct] pub struct TouchEvent { uievent: UIEvent, - touches: MutJS<TouchList>, - target_touches: MutJS<TouchList>, - changed_touches: MutJS<TouchList>, + touches: MutDom<TouchList>, + target_touches: MutDom<TouchList>, + changed_touches: MutDom<TouchList>, alt_key: Cell<bool>, meta_key: Cell<bool>, ctrl_key: Cell<bool>, @@ -34,9 +34,9 @@ impl TouchEvent { target_touches: &TouchList) -> TouchEvent { TouchEvent { uievent: UIEvent::new_inherited(), - touches: MutJS::new(touches), - target_touches: MutJS::new(target_touches), - changed_touches: MutJS::new(changed_touches), + touches: MutDom::new(touches), + target_touches: MutDom::new(target_touches), + changed_touches: MutDom::new(changed_touches), ctrl_key: Cell::new(false), shift_key: Cell::new(false), alt_key: Cell::new(false), |