diff options
Diffstat (limited to 'components/script/dom/audioparam.rs')
-rw-r--r-- | components/script/dom/audioparam.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/components/script/dom/audioparam.rs b/components/script/dom/audioparam.rs index 99f64d765f6..3d1ca25c77f 100644 --- a/components/script/dom/audioparam.rs +++ b/components/script/dom/audioparam.rs @@ -2,6 +2,14 @@ * 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 std::sync::mpsc; + +use dom_struct::dom_struct; +use servo_media::audio::graph::NodeId; +use servo_media::audio::node::AudioNodeMessage; +use servo_media::audio::param::{ParamRate, ParamType, RampKind, UserAutomationEvent}; + use crate::dom::baseaudiocontext::BaseAudioContext; use crate::dom::bindings::codegen::Bindings::AudioParamBinding::{ AudioParamMethods, AutomationRate, @@ -11,12 +19,6 @@ use crate::dom::bindings::num::Finite; use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; use crate::dom::bindings::root::{Dom, DomRoot}; use crate::dom::window::Window; -use dom_struct::dom_struct; -use servo_media::audio::graph::NodeId; -use servo_media::audio::node::AudioNodeMessage; -use servo_media::audio::param::{ParamRate, ParamType, RampKind, UserAutomationEvent}; -use std::cell::Cell; -use std::sync::mpsc; #[dom_struct] pub struct AudioParam { |