mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Support native promise callbacks.
This commit is contained in:
parent
7ba3172ce0
commit
ab168204ed
5 changed files with 138 additions and 3 deletions
|
@ -156,7 +156,7 @@ impl<T: JSTraceable> JSTraceable for Rc<T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: JSTraceable> JSTraceable for Box<T> {
|
||||
impl<T: JSTraceable + ?Sized> JSTraceable for Box<T> {
|
||||
fn trace(&self, trc: *mut JSTracer) {
|
||||
(**self).trace(trc)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue