diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-07-10 18:08:03 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-07-14 12:12:19 -0700 |
commit | e84106535175211526729e532058a7514a0de372 (patch) | |
tree | 40605bb1daa46f8ebffd5200756077c969656a9c /components/script/dom/bindings/trace.rs | |
parent | 2947d78e4e0e7940b86e9fbdaa784ebbd28740f4 (diff) | |
download | servo-e84106535175211526729e532058a7514a0de372.tar.gz servo-e84106535175211526729e532058a7514a0de372.zip |
compositing: Move messages that go over the `ScriptListener` to go over
an IPC channel instead.
Because this used a boxed trait object to invoke messages across a
process boundary, and boxed trait objects are not supported across IPC,
we spawn a helper thread inside the compositor to perform the marshaling
for us.
Diffstat (limited to 'components/script/dom/bindings/trace.rs')
-rw-r--r-- | components/script/dom/bindings/trace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index b64d46a212e..43e9814242e 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -328,7 +328,7 @@ impl<A,B> JSTraceable for fn(A) -> B { } } -impl JSTraceable for Box<ScriptListener+'static> { +impl JSTraceable for ScriptListener { #[inline] fn trace(&self, _: *mut JSTracer) { // Do nothing |