mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #17747 - emilio:more-stuff-going-away, r=wafflespeanut
style: Remove unused ElementStyles::styles_and_restyle_mut. Never enough code going away. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17747) <!-- Reviewable:end -->
This commit is contained in:
commit
9d78008acb
1 changed files with 0 additions and 8 deletions
|
@ -228,14 +228,6 @@ pub enum RestyleKind {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ElementData {
|
impl ElementData {
|
||||||
/// Borrows both styles and restyle mutably at the same time.
|
|
||||||
pub fn styles_and_restyle_mut(
|
|
||||||
&mut self
|
|
||||||
) -> (&mut ElementStyles, &mut RestyleData) {
|
|
||||||
(&mut self.styles,
|
|
||||||
&mut self.restyle)
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Invalidates style for this element, its descendants, and later siblings,
|
/// Invalidates style for this element, its descendants, and later siblings,
|
||||||
/// based on the snapshot of the element that we took when attributes or
|
/// based on the snapshot of the element that we took when attributes or
|
||||||
/// state changed.
|
/// state changed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue