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:
bors-servo 2017-07-15 11:11:13 -07:00 committed by GitHub
commit 9d78008acb

View file

@ -228,14 +228,6 @@ pub enum RestyleKind {
}
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,
/// based on the snapshot of the element that we took when attributes or
/// state changed.