mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
commit
417a932e30
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ impl<T> DOMRefCell<T> {
|
|||
|
||||
impl<T: JSTraceable> JSTraceable for DOMRefCell<T> {
|
||||
fn trace(&self, trc: *mut JSTracer) {
|
||||
(*self).borrow().trace(trc)
|
||||
unsafe {
|
||||
(*self).borrow_for_gc_trace().trace(trc)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue