mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01: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
|
@ -676,7 +676,7 @@ impl Document {
|
|||
|
||||
// Set the document's activity level, reflow if necessary, and suspend or resume timers.
|
||||
self.activity.set(activity);
|
||||
let media = ServoMedia::get().unwrap();
|
||||
let media = ServoMedia::get();
|
||||
let pipeline_id = self.window().pipeline_id();
|
||||
let client_context_id =
|
||||
ClientContextId::build(pipeline_id.namespace_id.0, pipeline_id.index.0.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue