aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index 5d10a6d9fca..5227f97dc43 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -1393,7 +1393,7 @@ impl ContainingBlockLink {
panic!("Link to containing block not established; perhaps you forgot to call \
`set_absolute_descendants`?")
}
- Some(ref mut link) => link.generated_containing_block_size(for_flow),
+ Some(ref link) => link.upgrade().unwrap().generated_containing_block_size(for_flow),
}
}
}