Update to use latest servo-media

This commit is contained in:
Fernando Jiménez Moreno 2018-05-31 12:20:41 +02:00
parent 53d4933a40
commit 4602951656
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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;