diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-26 22:05:28 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-26 22:05:28 +0530 |
commit | c9ccf7aeb45540ae6ceb325c633d0f8c0c37d653 (patch) | |
tree | 6f26043df2bf561ec41f957b8966e1dd7e649402 /components/script/dom/macros.rs | |
parent | 432739164b1f3a117c0aac1dfc97b41018c89b46 (diff) | |
download | servo-c9ccf7aeb45540ae6ceb325c633d0f8c0c37d653.tar.gz servo-c9ccf7aeb45540ae6ceb325c633d0f8c0c37d653.zip |
make no_jsmanaged_fields not require imports
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 } } |