aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-02-13 18:50:41 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-02-13 18:50:41 +0530
commita164176876bb6abccf729eb5d6334e3c22230103 (patch)
tree94318ff8720c81d4adc49033763a39414887713f /components/script/dom/bindings/utils.rs
parent088963f774f5068ec8dc0f3bd88579bc1e84c18d (diff)
parent966da85791f0efb31753becaf72ff16062100025 (diff)
downloadservo-a164176876bb6abccf729eb5d6334e3c22230103.tar.gz
servo-a164176876bb6abccf729eb5d6334e3c22230103.zip
Auto merge of #9622 - nox:heapsize, r=ecoal95
Bump heapsize to 0.3 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9622) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r--components/script/dom/bindings/utils.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs
index 83e7a2e4cb2..ba887934798 100644
--- a/components/script/dom/bindings/utils.rs
+++ b/components/script/dom/bindings/utils.rs
@@ -36,6 +36,7 @@ use js::{JS_CALLEE};
use libc::{self, c_uint};
use std::default::Default;
use std::ffi::CString;
+use std::os::raw::c_void;
use std::ptr;
use util::non_geckolib::jsstring_to_str;
@@ -91,7 +92,7 @@ pub struct DOMClass {
pub type_id: TopTypeId,
/// The HeapSizeOf function wrapper for that interface.
- pub heap_size_of: unsafe fn(*const libc::c_void) -> usize,
+ pub heap_size_of: unsafe fn(*const c_void) -> usize,
}
unsafe impl Sync for DOMClass {}