Bug 1010067 - Whitespace fix to nsTransitionManager::FlushTransitions. No review.
authorBrian Birtles <birtles@gmail.com>
Thu, 03 Jul 2014 09:04:35 +0900
changeset 191964 81ebf5784ed982002849a4df6a6e5275262ee23f
parent 191963 04848dd6053d9870c212be207ab48b1474fbb6b7
child 191965 878fe076a95fa357de15fd07e15e032fbf876ca1
push id45719
push userbbirtles@mozilla.com
push dateThu, 03 Jul 2014 00:05:27 +0000
treeherdermozilla-inbound@81ebf5784ed9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1010067
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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.
layout/style/nsTransitionManager.cpp
--- a/layout/style/nsTransitionManager.cpp
+++ b/layout/style/nsTransitionManager.cpp
@@ -853,22 +853,23 @@ nsTransitionManager::FlushTransitions(Fl
             collection->UpdateAnimationGeneration(mPresContext);
             transitionStartedOrEnded = true;
           }
         }
       } while (i != 0);
 
       // 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 {
         didThrottle = true;
       }
 
       if (collection->mAnimations.IsEmpty()) {
         collection->Destroy();