diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-04-22 17:14:48 -0400 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-05-27 20:43:52 +0200 |
commit | 003e5bcd4674fc0e78b36ecd783f3045cba852d2 (patch) | |
tree | 8206e58c032795db83c392167129483200ff0f2b /src/components/script/dom/bindings/trace.rs | |
parent | 04931adf70e6dc70d09c2ceb42e2add85f58051d (diff) | |
download | servo-003e5bcd4674fc0e78b36ecd783f3045cba852d2.tar.gz servo-003e5bcd4674fc0e78b36ecd783f3045cba852d2.zip |
Port modern callback handling code from Gecko, and copy related WebIDL parser bits too.
Diffstat (limited to 'src/components/script/dom/bindings/trace.rs')
-rw-r--r-- | src/components/script/dom/bindings/trace.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/script/dom/bindings/trace.rs b/src/components/script/dom/bindings/trace.rs index d18f6a64448..26decbc450a 100644 --- a/src/components/script/dom/bindings/trace.rs +++ b/src/components/script/dom/bindings/trace.rs @@ -110,6 +110,7 @@ impl<T> DerefMut<T> for Untraceable<T> { /// Encapsulates a type that can be traced but is boxed in a type we don't control /// (such as RefCell). Wrap a field in Traceable and implement the Encodable trait /// for that new concrete type to achieve magic compiler-derived trace hooks. +#[deriving(Eq, Clone)] pub struct Traceable<T> { inner: T } |