Remove mozjs dep from malloc_size_of.

This commit is contained in:
Josh Matthews 2019-03-27 14:18:18 -04:00
parent 0a5aab6cc2
commit 57d2b5a92d
21 changed files with 30 additions and 16 deletions

View file

@ -25,6 +25,7 @@ use std::ptr::NonNull;
#[dom_struct]
pub struct MessageEvent {
event: Event,
#[ignore_malloc_size_of = "mozjs"]
data: Heap<JSVal>,
origin: DOMString,
source: Option<Dom<WindowProxy>>,