• aroben@apple.com's avatar
    Notify layers that their animations have started when we flush the context, not when we render · 9e3fd540
    aroben@apple.com authored
    r76372 separated context flushing from rendering, but this bit of code got left behind.
    
    Reviewed by Sam Weinig.
    
    * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
    (WebCore::CACFLayerTreeHost::render): Moved code to notify the layers from here to
    notifyAnimationsStarted.
    (WebCore::CACFLayerTreeHost::flushPendingLayerChangesNow): Added a call to
    notifyAnimationsStarted after we flush the context.
    (WebCore::CACFLayerTreeHost::notifyAnimationsStarted): Added. Code came from render. Changed
    to call PlatformCALayer::animationStarted rather than calling through to the client
    directly.
    
    * platform/graphics/ca/win/CACFLayerTreeHost.h: Added notifyAniamtionsStarted.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9e3fd540
ChangeLog 1.38 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.