aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/attr.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-24 03:01:03 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-09-24 05:44:49 +0530
commitcc44a3b0641d94908b2b2e01bec440f64f89f8be (patch)
treea4b70f846ee51abd5b413c6875ef1bc24449c8b9 /components/script/dom/attr.rs
parent85f79290a67afb25369a9a48ee9a389ee32fd20e (diff)
downloadservo-cc44a3b0641d94908b2b2e01bec440f64f89f8be.tar.gz
servo-cc44a3b0641d94908b2b2e01bec440f64f89f8be.zip
Use JSTraceable everywhere
Diffstat (limited to 'components/script/dom/attr.rs')
-rw-r--r--components/script/dom/attr.rs5
1 files changed, 3 insertions, 2 deletions
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<Atom>),
@@ -72,7 +73,7 @@ impl Str for AttrValue {
}
}
-#[deriving(Encodable)]
+#[jstraceable]
#[must_root]
pub struct Attr {
reflector_: Reflector,