aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/imagedata.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-03-27 14:18:18 -0400
committerJosh Matthews <josh@joshmatthews.net>2019-05-02 09:30:03 -0400
commit57d2b5a92df4348ba6131691fc41b05148bf5904 (patch)
tree399fb51194139569cd68b96fe6229a42c2731e42 /components/script/dom/imagedata.rs
parent0a5aab6cc2d23b6b9bf5de142e7a8a5b84e32380 (diff)
downloadservo-57d2b5a92df4348ba6131691fc41b05148bf5904.tar.gz
servo-57d2b5a92df4348ba6131691fc41b05148bf5904.zip
Remove mozjs dep from malloc_size_of.
Diffstat (limited to 'components/script/dom/imagedata.rs')
-rw-r--r--components/script/dom/imagedata.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/imagedata.rs b/components/script/dom/imagedata.rs
index 9566c7b0f39..29c15f665a4 100644
--- a/components/script/dom/imagedata.rs
+++ b/components/script/dom/imagedata.rs
@@ -25,6 +25,7 @@ pub struct ImageData {
reflector_: Reflector,
width: u32,
height: u32,
+ #[ignore_malloc_size_of = "mozjs"]
data: Heap<*mut JSObject>,
}