aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/treewalker.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/treewalker.rs
parent85f79290a67afb25369a9a48ee9a389ee32fd20e (diff)
downloadservo-cc44a3b0641d94908b2b2e01bec440f64f89f8be.tar.gz
servo-cc44a3b0641d94908b2b2e01bec440f64f89f8be.zip
Use JSTraceable everywhere
Diffstat (limited to 'components/script/dom/treewalker.rs')
-rw-r--r--components/script/dom/treewalker.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/treewalker.rs b/components/script/dom/treewalker.rs
index cac3776e0ac..6af92828539 100644
--- a/components/script/dom/treewalker.rs
+++ b/components/script/dom/treewalker.rs
@@ -19,11 +19,11 @@ use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
use dom::document::Document;
use dom::node::{Node, NodeHelpers};
-use serialize::{Encoder, Encodable};
+
use std::cell::Cell;
// http://dom.spec.whatwg.org/#interface-treewalker
-#[deriving(Encodable)]
+#[jstraceable]
#[must_root]
pub struct TreeWalker {
pub reflector_: Reflector,
@@ -552,7 +552,7 @@ impl<'a> Iterator<JSRef<'a, Node>> for JSRef<'a, TreeWalker> {
}
}
-#[deriving(Encodable)]
+#[jstraceable]
pub enum Filter {
FilterNone,
FilterNative(Untraceable<fn (node: JSRef<Node>) -> u16>),