From 377bcb53b94d390599c987b6a1db65beb55601b9 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 24 Jul 2014 22:39:53 -0700 Subject: [PATCH] Update comments about Node::layout_data --- src/components/script/dom/node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/script/dom/node.rs b/src/components/script/dom/node.rs index e07190bc8f5..fb456fa3b1f 100644 --- a/src/components/script/dom/node.rs +++ b/src/components/script/dom/node.rs @@ -92,7 +92,7 @@ pub struct Node { /// Layout information. Only the layout task may touch this data. /// - /// FIXME(pcwalton): We need to send these back to the layout task to be destroyed when this + /// Must be sent back to the layout task to be destroyed when this /// node is finalized. pub layout_data: LayoutDataRef, } @@ -1339,7 +1339,7 @@ impl Node { Temporary::from_rooted(&*copy) } - /// Sends layout data, if any, back to the script task to be destroyed. + /// Sends layout data, if any, back to the layout task to be destroyed. unsafe fn reap_layout_data(&mut self) { if self.layout_data.is_present() { let layout_data = mem::replace(&mut self.layout_data, LayoutDataRef::new());