Bug 1112480 part 9 - Remove call to PostUpdate from AnimationPlayer::ResumeAt; r=jwatt
authorBrian Birtles <birtles@gmail.com>
Fri, 09 Jan 2015 07:57:58 +0900
changeset 248646 2081656d2497d4803e35d5962e34b2642a42e999
parent 248645 632d54874ed20d94da6db401e3459f7b1998fd10
child 248647 95267af607c398fb56878d43f07c7c150dac82d7
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwatt
bugs1112480
milestone37.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 1112480 part 9 - Remove call to PostUpdate from AnimationPlayer::ResumeAt; r=jwatt Since pending animations are no longer started outside of a style update, we no longer need to call PostUpdate from ResumeAt.
dom/animation/AnimationPlayer.cpp
--- a/dom/animation/AnimationPlayer.cpp
+++ b/dom/animation/AnimationPlayer.cpp
@@ -319,17 +319,16 @@ AnimationPlayer::ResumeAt(const TimeDura
   MOZ_ASSERT(!mHoldTime.IsNull(),
              "A player in the pending state should have a resolved hold time");
 
   mStartTime.SetValue(aResumeTime - mHoldTime.Value());
   mHoldTime.SetNull();
   mIsPending = false;
 
   UpdateSourceContent();
-  PostUpdate();
 
   if (mReady) {
     mReady->MaybeResolve(this);
   }
 }
 
 void
 AnimationPlayer::UpdateSourceContent()