mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Don't generate rare_data_for_layout methods anymore
It is only used twice.
This commit is contained in:
parent
dd750c6f86
commit
414d477b54
3 changed files with 6 additions and 9 deletions
|
@ -671,11 +671,6 @@ macro_rules! impl_rare_data (
|
|||
rare_data.as_mut().unwrap()
|
||||
})
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
fn rare_data_for_layout(&self) -> &Option<Box<$type>> {
|
||||
unsafe { self.rare_data.borrow_for_layout() }
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue