Changeset 148155 in webkit


Ignore:
Timestamp:
Apr 10, 2013 5:04:06 PM (11 years ago)
Author:
Simon Fraser
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148149 r148155  
     12013-04-10  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Log when the animation timer fires
     4        https://bugs.webkit.org/show_bug.cgi?id=114393
     5
     6        Reviewed by Dean Jackson.
     7
     8        Logging to the Animations log channel when the updateAnimationTimer
     9        fires is useful, because it indicates whether we're running
     10        software animations.
     11
     12        * page/animation/AnimationController.cpp:
     13        (WebCore::AnimationControllerPrivate::updateAnimationTimer):
     14
    1152013-04-10  Beth Dakin  <bdakin@apple.com>
    216
  • trunk/Source/WebCore/page/animation/AnimationController.cpp

    r144935 r148155  
    3838#include "Frame.h"
    3939#include "FrameView.h"
     40#include "Logging.h"
    4041#include "PseudoElement.h"
    4142#include "RenderView.h"
     
    136137    double timeToNextService = updateAnimations(callSetChanged);
    137138
     139    LOG(Animations, "updateAnimationTimer: timeToNextService is %.2f", timeToNextService);
     140
    138141    // If we want service immediately, we start a repeating timer to reduce the overhead of starting
    139142    if (!timeToNextService) {
Note: See TracChangeset for help on using the changeset viewer.