remove ScriptListener

ref #7175
This commit is contained in:
vectorijk 2015-08-13 06:53:25 -07:00
parent 7c63c7d7c1
commit 14ac1ef75a
7 changed files with 24 additions and 70 deletions

View file

@ -58,7 +58,6 @@ use net_traits::storage_task::StorageType;
use script_traits::UntrustedNodeAddress;
use serde::{Serialize, Deserialize};
use smallvec::SmallVec;
use msg::compositor_msg::ScriptListener;
use msg::constellation_msg::ConstellationChan;
use net_traits::image::base::Image;
use profile_traits::mem::ProfilerChan;
@ -342,13 +341,6 @@ impl<T> JSTraceable for IpcSender<T> where T: Deserialize + Serialize {
}
}
impl JSTraceable for ScriptListener {
#[inline]
fn trace(&self, _: *mut JSTracer) {
// Do nothing
}
}
impl JSTraceable for Box<LayoutRPC+'static> {
#[inline]
fn trace(&self, _: *mut JSTracer) {