mirror of
https://github.com/servo/servo.git
synced 2025-06-19 14:48:59 +01:00
Remove unused ThreadSafeLayoutNode::get_normal_display.
This commit is contained in:
parent
b1c4862119
commit
cc356e58ae
1 changed files with 0 additions and 8 deletions
|
@ -682,14 +682,6 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
|
|||
self.pseudo
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_normal_display(&self) -> display::T {
|
||||
let mut layout_data_ref = self.mutate_layout_data();
|
||||
let node_layout_data_wrapper = layout_data_ref.as_mut().unwrap();
|
||||
let style = node_layout_data_wrapper.shared_data.style.as_ref().unwrap();
|
||||
style.get_box().display
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_before_display(&self) -> display::T {
|
||||
let mut layout_data_ref = self.mutate_layout_data();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue