mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement JSTraceable for Size2D<u32>
This commit is contained in:
parent
426067069c
commit
b8dbf2dddd
1 changed files with 7 additions and 0 deletions
|
@ -622,6 +622,13 @@ unsafe impl<U> JSTraceable for TypedSize2D<f32, U> {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl<U> JSTraceable for TypedSize2D<u32, U> {
|
||||
#[inline]
|
||||
unsafe fn trace(&self, _trc: *mut JSTracer) {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl JSTraceable for StyleLocked<FontFaceRule> {
|
||||
unsafe fn trace(&self, _trc: *mut JSTracer) {
|
||||
// Do nothing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue