diff options
Diffstat (limited to 'components/layout')
-rw-r--r-- | components/layout/flow_ref.rs | 2 | ||||
-rw-r--r-- | components/layout/lib.rs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/components/layout/flow_ref.rs b/components/layout/flow_ref.rs index 6b323c15f6f..6188c882ce9 100644 --- a/components/layout/flow_ref.rs +++ b/components/layout/flow_ref.rs @@ -13,11 +13,11 @@ use flow::Flow; use flow; -use alloc::heap; use std::mem; use std::ops::{Deref, DerefMut}; use std::ptr; use std::raw; +use std::rt::heap; use std::sync::atomic::{self, Ordering}; #[unsafe_no_drop_flag] diff --git a/components/layout/lib.rs b/components/layout/lib.rs index e93fe905633..682b5ea3aec 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#![feature(alloc)] #![feature(append)] #![feature(arc_unique)] #![feature(box_syntax)] @@ -40,7 +39,6 @@ extern crate profile_traits; extern crate util; extern crate rustc_serialize; -extern crate alloc; extern crate azure; extern crate canvas_traits; extern crate clock_ticks; |