mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove mozjs dep from malloc_size_of.
This commit is contained in:
parent
0a5aab6cc2
commit
57d2b5a92d
21 changed files with 30 additions and 16 deletions
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue