diff options
Diffstat (limited to 'components/script/dom/vrframedata.rs')
-rw-r--r-- | components/script/dom/vrframedata.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/vrframedata.rs b/components/script/dom/vrframedata.rs index 08acd74bb42..25f6af821a7 100644 --- a/components/script/dom/vrframedata.rs +++ b/components/script/dom/vrframedata.rs @@ -22,9 +22,13 @@ use webvr_traits::WebVRFrameData; #[dom_struct] pub struct VRFrameData { reflector_: Reflector, + #[ignore_malloc_size_of = "mozjs"] left_proj: Heap<*mut JSObject>, + #[ignore_malloc_size_of = "mozjs"] left_view: Heap<*mut JSObject>, + #[ignore_malloc_size_of = "mozjs"] right_proj: Heap<*mut JSObject>, + #[ignore_malloc_size_of = "mozjs"] right_view: Heap<*mut JSObject>, pose: Dom<VRPose>, timestamp: Cell<f64>, |