Auto merge of #6529 - dwins:master, r=Manishearth

Refactor #[jstraceable] to #[derive(JSTraceable)]

fixes #6524.  I had to make an additional change not mentioned in the ticket - adding the `#[feature]` to enable deriving custom traits but I assume that's expected at this time.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6529)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-07-01 18:27:40 -06:00
commit bbb39082e0
51 changed files with 97 additions and 137 deletions

View file

@ -64,7 +64,7 @@ use string_cache::{Atom, Namespace};
pub struct WindowProxyHandler(pub *const libc::c_void);
#[allow(raw_pointer_derive)]
#[jstraceable]
#[derive(JSTraceable)]
/// Static data associated with a global object.
pub struct GlobalStaticData {
/// The WindowProxy proxy handler for this global.