diff options
Diffstat (limited to 'components/script/dom/videotrack.rs')
-rw-r--r-- | components/script/dom/videotrack.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/videotrack.rs b/components/script/dom/videotrack.rs index 8f904284fd9..f0decb69c82 100644 --- a/components/script/dom/videotrack.rs +++ b/components/script/dom/videotrack.rs @@ -2,6 +2,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +use std::cell::Cell; + +use dom_struct::dom_struct; + use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::VideoTrackBinding::VideoTrackMethods; use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; @@ -9,8 +13,6 @@ use crate::dom::bindings::root::{Dom, DomRoot}; use crate::dom::bindings::str::DOMString; use crate::dom::videotracklist::VideoTrackList; use crate::dom::window::Window; -use dom_struct::dom_struct; -use std::cell::Cell; #[dom_struct] pub struct VideoTrack { |