mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
servo-media 1e28d1d997: don't unwrap ServoMedia::get() (#35049)
Signed-off-by: mcc <andi.m.mcclure@gmail.com>
This commit is contained in:
parent
7b15d9c44f
commit
d5993a0cea
7 changed files with 23 additions and 24 deletions
|
@ -127,7 +127,6 @@ impl BaseAudioContext {
|
|||
let client_context_id =
|
||||
ClientContextId::build(pipeline_id.namespace_id.0, pipeline_id.index.0.get());
|
||||
let audio_context_impl = ServoMedia::get()
|
||||
.unwrap()
|
||||
.create_audio_context(&client_context_id, options.convert())
|
||||
.map_err(|_| Error::NotSupported)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue