Implement JSTraceable for Size2D<u32>

This commit is contained in:
Anthony Ramine 2018-10-02 11:42:02 +02:00
parent 426067069c
commit b8dbf2dddd

View file

@ -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.