mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -117,6 +117,7 @@ impl UnderlyingSourceContainer {
|
|||
&SafeHandle::from_raw(this_obj.handle()),
|
||||
Some(reason),
|
||||
ExceptionHandling::Rethrow,
|
||||
can_gc,
|
||||
)
|
||||
};
|
||||
return Some(result);
|
||||
|
@ -146,6 +147,7 @@ impl UnderlyingSourceContainer {
|
|||
&SafeHandle::from_raw(this_obj.handle()),
|
||||
controller,
|
||||
ExceptionHandling::Rethrow,
|
||||
can_gc,
|
||||
)
|
||||
};
|
||||
return Some(result);
|
||||
|
@ -186,6 +188,7 @@ impl UnderlyingSourceContainer {
|
|||
controller,
|
||||
result.handle_mut(),
|
||||
ExceptionHandling::Rethrow,
|
||||
can_gc,
|
||||
) {
|
||||
return Some(Err(error));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue