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:
Brian Birtles 2014-07-03 09:04:35 +09:00
parent a71e7fd445
commit ea77abec71

View File

@ -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 {