mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1010067 - Whitespace fix to nsTransitionManager::FlushTransitions. No review.
This change was suggested in bug 1010067 comment 22 but somehow ended up in the wrong patch when pushing.
This commit is contained in:
parent
a71e7fd445
commit
ea77abec71
@ -858,12 +858,13 @@ nsTransitionManager::FlushTransitions(FlushFlags aFlags)
|
||||
|
||||
// We need to restyle even if the transition rule no longer
|
||||
// applies (in which case we just made it not apply).
|
||||
MOZ_ASSERT(
|
||||
collection->mElementProperty == nsGkAtoms::transitionsProperty ||
|
||||
collection->mElementProperty ==
|
||||
nsGkAtoms::transitionsOfBeforeProperty ||
|
||||
collection->mElementProperty == nsGkAtoms::transitionsOfAfterProperty,
|
||||
"Unexpected element property; might restyle too much");
|
||||
MOZ_ASSERT(collection->mElementProperty ==
|
||||
nsGkAtoms::transitionsProperty ||
|
||||
collection->mElementProperty ==
|
||||
nsGkAtoms::transitionsOfBeforeProperty ||
|
||||
collection->mElementProperty ==
|
||||
nsGkAtoms::transitionsOfAfterProperty,
|
||||
"Unexpected element property; might restyle too much");
|
||||
if (!canThrottleTick || transitionStartedOrEnded) {
|
||||
collection->PostRestyleForAnimation(mPresContext);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user