aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/trace.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-09-13 16:47:06 +0200
committerMs2ger <Ms2ger@gmail.com>2015-09-13 16:47:12 +0200
commit3781567c199512ce2f257d1b2ccf465e634e12ec (patch)
tree909509a6fcc68447e34c1d31bf846d7e9f1aa2a8 /components/script/dom/bindings/trace.rs
parentca5e7097a0f2737520591e24371d539e5af5e5ba (diff)
downloadservo-3781567c199512ce2f257d1b2ccf465e634e12ec.tar.gz
servo-3781567c199512ce2f257d1b2ccf465e634e12ec.zip
Stop implementing Reflectable for JS<T> (fixes #2285).
It's not generally safe to expose the contents of a JS<T>.
Diffstat (limited to 'components/script/dom/bindings/trace.rs')
-rw-r--r--components/script/dom/bindings/trace.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs
index ed16d5a2515..5a9aa5b2abb 100644
--- a/components/script/dom/bindings/trace.rs
+++ b/components/script/dom/bindings/trace.rs
@@ -88,12 +88,6 @@ pub trait JSTraceable {
fn trace(&self, trc: *mut JSTracer);
}
-impl<T: Reflectable> JSTraceable for JS<T> {
- fn trace(&self, trc: *mut JSTracer) {
- trace_reflector(trc, "", self.reflector());
- }
-}
-
no_jsmanaged_fields!(EncodingRef);
no_jsmanaged_fields!(Reflector);