diff options
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/baseaudiocontext.rs | 2 | ||||
-rw-r--r-- | components/script/dom/bindings/trace.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/baseaudiocontext.rs b/components/script/dom/baseaudiocontext.rs index 8fc25940d7f..0820b7eec67 100644 --- a/components/script/dom/baseaudiocontext.rs +++ b/components/script/dom/baseaudiocontext.rs @@ -41,7 +41,7 @@ impl BaseAudioContext { ) -> BaseAudioContext { let mut context = BaseAudioContext { reflector_: Reflector::new(), - audio_graph: ServoMedia::get().unwrap().create_audio_graph().unwrap(), + audio_graph: ServoMedia::get().unwrap().create_audio_graph(), destination: None, current_time: 0., sample_rate, diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index c8f26a8ba5a..1f39f33f209 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -80,7 +80,7 @@ use offscreen_gl_context::GLLimits; use parking_lot::RwLock; use profile_traits::mem::ProfilerChan as MemProfilerChan; use profile_traits::time::ProfilerChan as TimeProfilerChan; -use servo_media::AudioGraph; +use servo_media::audio::graph::AudioGraph; use script_layout_interface::OpaqueStyleAndLayoutData; use script_layout_interface::reporter::CSSErrorReporter; use script_layout_interface::rpc::LayoutRPC; |