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 beb3b00cfef..932cab031d5 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -1493,7 +1493,7 @@ impl ContainingBlockLink {
}
fn set(&mut self, link: FlowRef) {
- self.link = Some(link.downgrade())
+ self.link = Some(Arc::downgrade(&link))
}
#[allow(unsafe_code)]