mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix media session action handling
This commit is contained in:
parent
9da1dd3592
commit
b048d7faf7
9 changed files with 54 additions and 121 deletions
|
@ -714,8 +714,8 @@ where
|
|||
}
|
||||
},
|
||||
|
||||
WindowEvent::MediaSessionAction(ctx, a) => {
|
||||
let msg = ConstellationMsg::MediaSessionAction(ctx, a);
|
||||
WindowEvent::MediaSessionAction(a) => {
|
||||
let msg = ConstellationMsg::MediaSessionAction(a);
|
||||
if let Err(e) = self.constellation_chan.send(msg) {
|
||||
warn!(
|
||||
"Sending MediaSessionAction message to constellation failed ({:?}).",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue