mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement JSTraceable for more types.
This commit is contained in:
parent
8ce9ca6243
commit
3613e8f231
3 changed files with 9 additions and 1 deletions
|
@ -642,3 +642,9 @@ impl<T: DomObject> Drop for Root<T> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl<T: DomObject> JSTraceable for Root<T> {
|
||||
unsafe fn trace(&self, _: *mut JSTracer) {
|
||||
// Already traced.
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue