Change #[privatize] into #[derive(DenyPublicFields)]

This commit is contained in:
Anthony Ramine 2017-02-14 17:35:39 +01:00
parent 19c645ff68
commit 8bcf36b9a5
16 changed files with 69 additions and 65 deletions

View file

@ -220,8 +220,7 @@ impl CompiledEventListener {
}
}
#[derive(JSTraceable, Clone, PartialEq, HeapSizeOf)]
#[privatize]
#[derive(Clone, DenyPublicFields, HeapSizeOf, JSTraceable, PartialEq)]
/// A listener in a collection of event listeners.
struct EventListenerEntry {
phase: ListenerPhase,