diff options
Diffstat (limited to 'components/script_layout_interface')
-rw-r--r-- | components/script_layout_interface/Cargo.toml | 2 | ||||
-rw-r--r-- | components/script_layout_interface/lib.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/components/script_layout_interface/Cargo.toml b/components/script_layout_interface/Cargo.toml index 452972bd3dd..ba5a7bd7449 100644 --- a/components/script_layout_interface/Cargo.toml +++ b/components/script_layout_interface/Cargo.toml @@ -17,7 +17,7 @@ cssparser = {version = "0.7", features = ["heap_size", "serde-serialization"]} euclid = "0.10.1" gfx_traits = {path = "../gfx_traits"} heapsize = "0.3.0" -heapsize_plugin = "0.1.2" +heapsize_derive = "0.1" ipc-channel = "0.5" libc = "0.2" log = "0.3.5" diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs index ebef2d20271..70ffcf15524 100644 --- a/components/script_layout_interface/lib.rs +++ b/components/script_layout_interface/lib.rs @@ -12,7 +12,7 @@ #![feature(custom_derive)] #![feature(nonzero)] #![feature(plugin)] -#![plugin(heapsize_plugin)] +#![feature(proc_macro)] #![plugin(plugins)] extern crate app_units; @@ -25,6 +25,7 @@ extern crate cssparser; extern crate euclid; extern crate gfx_traits; extern crate heapsize; +#[macro_use] extern crate heapsize_derive; extern crate ipc_channel; extern crate libc; #[macro_use] |