diff options
Diffstat (limited to 'components/layout/util.rs')
-rw-r--r-- | components/layout/util.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/util.rs b/components/layout/util.rs index 368182e6c9e..0ba105f20fa 100644 --- a/components/layout/util.rs +++ b/components/layout/util.rs @@ -19,7 +19,7 @@ use std::mem; use std::cell::{Ref, RefMut}; use style::ComputedValues; use style; -use sync::Arc; +use std::sync::Arc; /// Data that layout associates with a node. pub struct PrivateLayoutData { @@ -64,6 +64,7 @@ impl PrivateLayoutData { } bitflags! { + #[deriving(Copy)] flags LayoutDataFlags: u8 { #[doc="Whether a flow has been newly constructed."] const HAS_NEWLY_CONSTRUCTED_FLOW = 0x01 |