aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/main/layout/context.rs')
-rw-r--r--src/components/main/layout/context.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/main/layout/context.rs b/src/components/main/layout/context.rs
index 93613a54a19..801b474c824 100644
--- a/src/components/main/layout/context.rs
+++ b/src/components/main/layout/context.rs
@@ -6,8 +6,9 @@
use extra::arc::MutexArc;
use green::task::GreenTask;
-use layout::flow::LeafSet;
+use layout::flow::FlowLeafSet;
use layout::util::OpaqueNode;
+use layout::wrapper::DomLeafSet;
use std::cast;
use std::ptr;
use std::rt::Runtime;
@@ -36,8 +37,11 @@ pub struct LayoutContext {
/// A channel up to the constellation.
constellation_chan: ConstellationChan,
+ /// The set of leaf DOM nodes.
+ dom_leaf_set: MutexArc<DomLeafSet>,
+
/// The set of leaf flows.
- leaf_set: MutexArc<LeafSet>,
+ flow_leaf_set: MutexArc<FlowLeafSet>,
/// Information needed to construct a font context.
font_context_info: FontContextInfo,