diff options
Diffstat (limited to 'components/script/dom/macros.rs')
-rw-r--r-- | components/script/dom/macros.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs index b1cba9ccd3e..42f23b8c4b2 100644 --- a/components/script/dom/macros.rs +++ b/components/script/dom/macros.rs @@ -169,18 +169,18 @@ macro_rules! make_uint_setter( macro_rules! no_jsmanaged_fields( ($($ty:ident),+) => ( $( - impl JSTraceable for $ty { + impl $crate::dom::bindings::trace::JSTraceable for $ty { #[inline] - fn trace(&self, _: *mut JSTracer) { + fn trace(&self, _: *mut ::js::jsapi::JSTracer) { // Do nothing } } )+ ); ($ty:ident<$($gen:ident),+>) => ( - impl<$($gen),+> JSTraceable for $ty<$($gen),+> { + impl<$($gen),+> $crate::dom::bindings::trace::JSTraceable for $ty<$($gen),+> { #[inline] - fn trace(&self, _: *mut JSTracer) { + fn trace(&self, _: *mut ::js::jsapi::JSTracer) { // Do nothing } } |