Changeset 153431 in webkit


Ignore:
Timestamp:
Jul 29, 2013 10:10:31 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

REGRESSION(148300) GIFs not reanimated after resumeActiveDOMObjectAndAnimations
https://bugs.webkit.org/show_bug.cgi?id=119217

Reviewed by Tim Horton.

Commit 148300 introduced a new better was of restarting GIF animations after
they have been suspended. Unfortunately the method was not activated when a page
is resumed but only when it is returning from background.

This fixes GIF animations that are stopped during user interaction on Qt and other
platforms using suspendActiveDOMObjectAndAnimations.

  • page/Frame.cpp:

(WebCore::Frame::resumeActiveDOMObjectsAndAnimations):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r153429 r153431  
     12013-07-29  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        REGRESSION(148300) GIFs not reanimated after resumeActiveDOMObjectAndAnimations
     4        https://bugs.webkit.org/show_bug.cgi?id=119217
     5
     6        Reviewed by Tim Horton.
     7
     8        Commit 148300 introduced a new better was of restarting GIF animations after
     9        they have been suspended. Unfortunately the method was not activated when a page
     10        is resumed but only when it is returning from background.
     11
     12        This fixes GIF animations that are stopped during user interaction on Qt and other
     13        platforms using suspendActiveDOMObjectAndAnimations.
     14
     15        * page/Frame.cpp:
     16        (WebCore::Frame::resumeActiveDOMObjectsAndAnimations):
     17
    1182013-07-29  Alex Christensen  <achristensen@apple.com>
    219
  • trunk/Source/WebCore/page/Frame.cpp

    r153407 r153431  
    986986        document()->resumeScriptedAnimationControllerCallbacks();
    987987    }
     988
     989    if (m_view)
     990        m_view->resumeAnimatingImages();
    988991}
    989992
Note: See TracChangeset for help on using the changeset viewer.