mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
script: Mark callback methods with CanGc. (#35753)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
3d320fa96a
commit
5650fa2e79
26 changed files with 133 additions and 67 deletions
|
@ -75,7 +75,7 @@ impl MediaSession {
|
|||
debug!("Handle media session action {:?}", action);
|
||||
|
||||
if let Some(handler) = self.action_handlers.borrow().get(&action) {
|
||||
if handler.Call__(ExceptionHandling::Report).is_err() {
|
||||
if handler.Call__(ExceptionHandling::Report, can_gc).is_err() {
|
||||
warn!("Error calling MediaSessionActionHandler callback");
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue