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

@ -17,11 +17,17 @@ use webvr_traits::webvr;
#[dom_struct]
pub struct VRPose {
reflector_: Reflector,
#[ignore_malloc_size_of = "mozjs"]
position: Heap<*mut JSObject>,
#[ignore_malloc_size_of = "mozjs"]
orientation: Heap<*mut JSObject>,
#[ignore_malloc_size_of = "mozjs"]
linear_vel: Heap<*mut JSObject>,
#[ignore_malloc_size_of = "mozjs"]
angular_vel: Heap<*mut JSObject>,
#[ignore_malloc_size_of = "mozjs"]
linear_acc: Heap<*mut JSObject>,
#[ignore_malloc_size_of = "mozjs"]
angular_acc: Heap<*mut JSObject>,
}