Log when the animation timer fires
[WebKit-https.git] / Source / WebCore / page / animation / AnimationController.cpp
index d47ed4dfe0dbfe1884e0296366f20436b87356d8..1c158701cb7210da982553bf331f62e406843b25 100644 (file)
@@ -37,6 +37,7 @@
 #include "EventNames.h"
 #include "Frame.h"
 #include "FrameView.h"
+#include "Logging.h"
 #include "PseudoElement.h"
 #include "RenderView.h"
 #include "TransitionEvent.h"
@@ -135,6 +136,8 @@ void AnimationControllerPrivate::updateAnimationTimer(SetChanged callSetChanged/
 {
     double timeToNextService = updateAnimations(callSetChanged);
 
+    LOG(Animations, "updateAnimationTimer: timeToNextService is %.2f", timeToNextService);
+
     // If we want service immediately, we start a repeating timer to reduce the overhead of starting
     if (!timeToNextService) {
         if (!m_animationTimer.isActive() || m_animationTimer.repeatInterval() == 0)