diff options
author | bors-servo <release+servo@mozilla.com> | 2014-05-05 21:34:19 -0400 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-05-05 21:34:19 -0400 |
commit | dedaa6a98e6455f13af8afee70be40654dcd008e (patch) | |
tree | 08dd61dbb9a826e76ba1ba968bd577137ada0570 /src/components/main/layout/inline.rs | |
parent | b6c785692645b22c8b6119cb28109e85e703e430 (diff) | |
parent | 0ed6f92b99a6cd20e1ef73809db0c25f43cb3e60 (diff) | |
download | servo-dedaa6a98e6455f13af8afee70be40654dcd008e.tar.gz servo-dedaa6a98e6455f13af8afee70be40654dcd008e.zip |
auto merge of #2338 : bjz/servo/remove-teardown, r=pcwalton
According to @pcwalton these used to be important for memory safety but are no longer needed now.
Diffstat (limited to 'src/components/main/layout/inline.rs')
-rw-r--r-- | src/components/main/layout/inline.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/main/layout/inline.rs b/src/components/main/layout/inline.rs index 293a2bdb8fa..ec79256f1e5 100644 --- a/src/components/main/layout/inline.rs +++ b/src/components/main/layout/inline.rs @@ -593,13 +593,6 @@ impl InlineFlow { } } - pub fn teardown(&mut self) { - for (fragment, _) in self.boxes.iter() { - fragment.teardown(); - } - self.boxes = InlineBoxes::new(); - } - pub fn build_display_list_inline(&mut self, layout_context: &LayoutContext) { let abs_rect = Rect(self.base.abs_position, self.base.position.size); if !abs_rect.intersects(&layout_context.dirty) { |