aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/element.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-24 21:25:41 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-09-24 21:25:41 +0530
commit95a4731c0eec0cfb2fb70af534757bc7ca63e407 (patch)
tree172cec252a697d693e9560d74883644092b4f67c /components/script/dom/element.rs
parentc7a575e79338c84652cc0d0cb2f85b1c438819b2 (diff)
parent6f6a62e9671cb562e0d29b82a2604ba44c0af6d0 (diff)
downloadservo-95a4731c0eec0cfb2fb70af534757bc7ca63e407.tar.gz
servo-95a4731c0eec0cfb2fb70af534757bc7ca63e407.zip
Merge pull request #3468 from Manishearth/jstraceable
Replace our usage our Encodable with JSTraceable; r=jdm
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r--components/script/dom/element.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs
index b88ba02a297..b09f2a8cd1b 100644
--- a/components/script/dom/element.rs
+++ b/components/script/dom/element.rs
@@ -43,7 +43,7 @@ use std::ascii::StrAsciiExt;
use std::cell::{Cell, RefCell};
use std::mem;
-#[deriving(Encodable)]
+#[jstraceable]
#[must_root]
pub struct Element {
pub node: Node,
@@ -71,7 +71,8 @@ impl Reflectable for Element {
}
}
-#[deriving(PartialEq,Encodable)]
+#[deriving(PartialEq)]
+#[jstraceable]
pub enum ElementTypeId {
HTMLElementTypeId,
HTMLAnchorElementTypeId,