Title: [148155] trunk/Source/WebCore
Revision
148155
Author
[email protected]
Date
2013-04-10 17:04:06 -0700 (Wed, 10 Apr 2013)

Log Message

Log when the animation timer fires
https://bugs.webkit.org/show_bug.cgi?id=114393

Reviewed by Dean Jackson.

Logging to the Animations log channel when the updateAnimationTimer
fires is useful, because it indicates whether we're running
software animations.

* page/animation/AnimationController.cpp:
(WebCore::AnimationControllerPrivate::updateAnimationTimer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (148154 => 148155)


--- trunk/Source/WebCore/ChangeLog	2013-04-11 00:02:01 UTC (rev 148154)
+++ trunk/Source/WebCore/ChangeLog	2013-04-11 00:04:06 UTC (rev 148155)
@@ -1,3 +1,17 @@
+2013-04-10  Simon Fraser  <[email protected]>
+
+        Log when the animation timer fires
+        https://bugs.webkit.org/show_bug.cgi?id=114393
+
+        Reviewed by Dean Jackson.
+
+        Logging to the Animations log channel when the updateAnimationTimer
+        fires is useful, because it indicates whether we're running
+        software animations.
+
+        * page/animation/AnimationController.cpp:
+        (WebCore::AnimationControllerPrivate::updateAnimationTimer):
+
 2013-04-10  Beth Dakin  <[email protected]>
 
         Inspector highlights are offset when the WKView has a header

Modified: trunk/Source/WebCore/page/animation/AnimationController.cpp (148154 => 148155)


--- trunk/Source/WebCore/page/animation/AnimationController.cpp	2013-04-11 00:02:01 UTC (rev 148154)
+++ trunk/Source/WebCore/page/animation/AnimationController.cpp	2013-04-11 00:04:06 UTC (rev 148155)
@@ -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 @@
 {
     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)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to