aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/imagedata.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-05-06 12:46:09 -0400
committerGitHub <noreply@github.com>2019-05-06 12:46:09 -0400
commit64c848950c50b1946e5a3f69d66ca5aac5b9ce1a (patch)
tree3c99bcb82c40ae9f07443b143e8a28ab4c0197cd /components/script/dom/imagedata.rs
parentaf077f8cf7feeb3ae791be133e4b3a10bf9ef614 (diff)
parent57d2b5a92df4348ba6131691fc41b05148bf5904 (diff)
downloadservo-64c848950c50b1946e5a3f69d66ca5aac5b9ce1a.tar.gz
servo-64c848950c50b1946e5a3f69d66ca5aac5b9ce1a.zip
Auto merge of #23299 - jdm:minimize-mozjs-deps, r=Manishearth
Remove mozjs dep from malloc_size_of. This makes making local changes to mozjs_sys much more frustrating than it should be, and blocks merging #22130. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23299) <!-- Reviewable:end -->
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>,
}