summaryrefslogtreecommitdiff
path: root/src/library/layout/stack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/layout/stack.rs')
-rw-r--r--src/library/layout/stack.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/layout/stack.rs b/src/library/layout/stack.rs
index a9fc1621..b9a26642 100644
--- a/src/library/layout/stack.rs
+++ b/src/library/layout/stack.rs
@@ -27,7 +27,7 @@ impl StackNode {
impl Layout for StackNode {
fn layout(
&self,
- world: &dyn World,
+ world: Tracked<dyn World>,
regions: &Regions,
styles: StyleChain,
) -> SourceResult<Vec<Frame>> {
@@ -168,7 +168,7 @@ impl<'a> StackLayouter<'a> {
/// Layout an arbitrary node.
pub fn layout_node(
&mut self,
- world: &dyn World,
+ world: Tracked<dyn World>,
node: &LayoutNode,
styles: StyleChain,
) -> SourceResult<()> {