[tbb-commits] [tor-browser/esr24] Bug 1000185 - Part 1: Perform synchronous SMIL sample after registering with refresh driver, not before, for consistency. r=birtles, a=abillings

mikeperry at torproject.org mikeperry at torproject.org
Fri Aug 29 05:26:40 UTC 2014


commit 5ec0afc9cd5dcc90285bbabbd4154c3273102e0c
Author: Daniel Holbert <dholbert at cs.stanford.edu>
Date:   Tue May 20 08:34:26 2014 -0400

    Bug 1000185 - Part 1: Perform synchronous SMIL sample after registering with refresh driver, not before, for consistency. r=birtles, a=abillings
---
 content/smil/nsSMILAnimationController.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/smil/nsSMILAnimationController.cpp b/content/smil/nsSMILAnimationController.cpp
index 377398c..77d06cd 100644
--- a/content/smil/nsSMILAnimationController.cpp
+++ b/content/smil/nsSMILAnimationController.cpp
@@ -93,8 +93,8 @@ nsSMILAnimationController::Resume(uint32_t aType)
   nsSMILTimeContainer::Resume(aType);
 
   if (wasPaused && !mPauseState && mChildContainerTable.Count()) {
-    Sample(); // Run the first sample manually
     MaybeStartSampling(GetRefreshDriver());
+    Sample(); // Run the first sample manually
   }
 }
 





More information about the tbb-commits mailing list