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

@ -40,6 +40,7 @@ enum PushOrReplace {
pub struct History {
reflector_: Reflector,
window: Dom<Window>,
#[ignore_malloc_size_of = "mozjs"]
state: Heap<JSVal>,
state_id: Cell<Option<HistoryStateId>>,
}