mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788549 Part 6: Remove a redundant if check r=dbaron
This commit is contained in:
parent
d414eae46d
commit
2bfb28139d
@ -912,12 +912,10 @@ nsTransitionManager::WalkTransitionRule(ElementDependentRuleProcessorData* aData
|
||||
|
||||
// We need to immediately restyle with animation
|
||||
// after doing this.
|
||||
if (et) {
|
||||
nsRestyleHint hint =
|
||||
aPseudoType == nsCSSPseudoElements::ePseudo_NotPseudoElement ?
|
||||
eRestyle_Self : eRestyle_Subtree;
|
||||
mPresContext->PresShell()->RestyleForAnimation(aData->mElement, hint);
|
||||
}
|
||||
nsRestyleHint hint =
|
||||
aPseudoType == nsCSSPseudoElements::ePseudo_NotPseudoElement ?
|
||||
eRestyle_Self : eRestyle_Subtree;
|
||||
mPresContext->PresShell()->RestyleForAnimation(aData->mElement, hint);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user