diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-07-25 21:16:53 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-07-27 11:14:45 -0700 |
commit | c3a727ebda5bc9a0d58c8895c7d4626790a9e45d (patch) | |
tree | d0036c9e728f24ebee9cd24520499f5331cc7e34 /components/script/layout_wrapper.rs | |
parent | 354dc660292b798bb0beafcc39a98e2519518e53 (diff) | |
download | servo-c3a727ebda5bc9a0d58c8895c7d4626790a9e45d.tar.gz servo-c3a727ebda5bc9a0d58c8895c7d4626790a9e45d.zip |
style: Remove a few more unuseful traversals now we can.
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r-- | components/script/layout_wrapper.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs index df44774dd5a..bfd7a8273d9 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -199,15 +199,6 @@ impl<'ln> TNode for ServoLayoutNode<'ln> { self.node.set_flag(DIRTY_ON_VIEWPORT_SIZE_CHANGE, true); } - fn set_descendants_dirty_on_viewport_size_changed(&self) { - for ref child in self.children() { - unsafe { - child.set_dirty_on_viewport_size_changed(); - } - child.set_descendants_dirty_on_viewport_size_changed(); - } - } - fn can_be_fragmented(&self) -> bool { unsafe { self.node.get_flag(CAN_BE_FRAGMENTED) } } |