From cc44a3b0641d94908b2b2e01bec440f64f89f8be Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 24 Sep 2014 03:01:03 +0530 Subject: Use JSTraceable everywhere --- components/script/dom/attr.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'components/script/dom/attr.rs') diff --git a/components/script/dom/attr.rs b/components/script/dom/attr.rs index 2da30a8c58c..fe1a57c4440 100644 --- a/components/script/dom/attr.rs +++ b/components/script/dom/attr.rs @@ -28,7 +28,8 @@ pub enum AttrSettingType { ReplacedAttr, } -#[deriving(PartialEq, Clone, Encodable)] +#[deriving(PartialEq, Clone)] +#[jstraceable] pub enum AttrValue { StringAttrValue(DOMString), TokenListAttrValue(DOMString, Vec), @@ -72,7 +73,7 @@ impl Str for AttrValue { } } -#[deriving(Encodable)] +#[jstraceable] #[must_root] pub struct Attr { reflector_: Reflector, -- cgit v1.2.3