diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2014-07-24 22:39:53 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2014-07-24 22:42:28 -0700 |
commit | 377bcb53b94d390599c987b6a1db65beb55601b9 (patch) | |
tree | c66c61b87872b163273e928318e40dbdfbb1eb63 /src/components/script/dom/node.rs | |
parent | a14d3b2102b8d69e0bcf361dc5c5fb0c11788637 (diff) | |
download | servo-377bcb53b94d390599c987b6a1db65beb55601b9.tar.gz servo-377bcb53b94d390599c987b6a1db65beb55601b9.zip |
Update comments about Node::layout_data
Diffstat (limited to 'src/components/script/dom/node.rs')
-rw-r--r-- | src/components/script/dom/node.rs | 4 |
1 files 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()); |