mirror of
https://github.com/servo/servo.git
synced 2025-07-26 00:30:22 +01:00
auto merge of #5387 : Manishearth/servo/macro_path, r=Ms2ger
This commit is contained in:
commit
265f313de3
2 changed files with 5 additions and 5 deletions
|
@ -169,18 +169,18 @@ macro_rules! make_uint_setter(
|
||||||
macro_rules! no_jsmanaged_fields(
|
macro_rules! no_jsmanaged_fields(
|
||||||
($($ty:ident),+) => (
|
($($ty:ident),+) => (
|
||||||
$(
|
$(
|
||||||
impl JSTraceable for $ty {
|
impl $crate::dom::bindings::trace::JSTraceable for $ty {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn trace(&self, _: *mut JSTracer) {
|
fn trace(&self, _: *mut ::js::jsapi::JSTracer) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)+
|
)+
|
||||||
);
|
);
|
||||||
($ty:ident<$($gen:ident),+>) => (
|
($ty:ident<$($gen:ident),+>) => (
|
||||||
impl<$($gen),+> JSTraceable for $ty<$($gen),+> {
|
impl<$($gen),+> $crate::dom::bindings::trace::JSTraceable for $ty<$($gen),+> {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn trace(&self, _: *mut JSTracer) {
|
fn trace(&self, _: *mut ::js::jsapi::JSTracer) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,7 +54,7 @@ use selectors::matching::matches;
|
||||||
use style::properties::ComputedValues;
|
use style::properties::ComputedValues;
|
||||||
use style;
|
use style;
|
||||||
|
|
||||||
use js::jsapi::{JSContext, JSObject, JSTracer, JSRuntime};
|
use js::jsapi::{JSContext, JSObject, JSRuntime};
|
||||||
use js::jsfriendapi;
|
use js::jsfriendapi;
|
||||||
use core::nonzero::NonZero;
|
use core::nonzero::NonZero;
|
||||||
use libc;
|
use libc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue