Title: [168830] trunk/Source
Revision
168830
Author
[email protected]
Date
2014-05-14 02:47:59 -0700 (Wed, 14 May 2014)

Log Message

Source/WebCore: GIF animations don't restart after scrolling on iOS WebKit1
https://bugs.webkit.org/show_bug.cgi?id=132900

Reviewed by Andreas Kling.

* WebCore.exp.in:

Source/WebKit/mac: GIF animations don't restart after scrolling with iOS WebKit1
https://bugs.webkit.org/show_bug.cgi?id=132900
<rdar://problem/16490858>

Reviewed by Andreas Kling.

* WebView/WebView.mm:
(-[WebView _didFinishScrollingOrZooming]):
        
    Check if the animations need to be restarted after scrolling finishes.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (168829 => 168830)


--- trunk/Source/WebCore/ChangeLog	2014-05-14 09:46:03 UTC (rev 168829)
+++ trunk/Source/WebCore/ChangeLog	2014-05-14 09:47:59 UTC (rev 168830)
@@ -1,3 +1,12 @@
+2014-05-14  Antti Koivisto  <[email protected]>
+
+        GIF animations don't restart after scrolling on iOS WebKit1
+        https://bugs.webkit.org/show_bug.cgi?id=132900
+
+        Reviewed by Andreas Kling.
+
+        * WebCore.exp.in:
+
 2014-05-13  Andrei Bucur  <[email protected]>
 
         [CSS Regions] Assertion failure in some cases with inline blocks

Modified: trunk/Source/WebCore/WebCore.exp.in (168829 => 168830)


--- trunk/Source/WebCore/WebCore.exp.in	2014-05-14 09:46:03 UTC (rev 168829)
+++ trunk/Source/WebCore/WebCore.exp.in	2014-05-14 09:47:59 UTC (rev 168830)
@@ -2454,6 +2454,7 @@
 _WebUIApplicationDidBecomeActiveNotification
 _WebUIApplicationWillEnterForegroundNotification
 _WebUIApplicationWillResignActiveNotification
+__ZN7WebCore10RenderView35resumePausedImageAnimationsIfNeededEv
 __ZN7WebCore10ScrollView15setScrollOffsetERKNS_8IntPointE
 __ZN7WebCore10ScrollView21setExposedContentRectERKNS_7IntRectE
 __ZN7WebCore10ScrollView24setUnobscuredContentRectERKNS_7IntRectE

Modified: trunk/Source/WebKit/mac/ChangeLog (168829 => 168830)


--- trunk/Source/WebKit/mac/ChangeLog	2014-05-14 09:46:03 UTC (rev 168829)
+++ trunk/Source/WebKit/mac/ChangeLog	2014-05-14 09:47:59 UTC (rev 168830)
@@ -1,3 +1,16 @@
+2014-05-14  Antti Koivisto  <[email protected]>
+
+        GIF animations don't restart after scrolling with iOS WebKit1
+        https://bugs.webkit.org/show_bug.cgi?id=132900
+        <rdar://problem/16490858>
+
+        Reviewed by Andreas Kling.
+
+        * WebView/WebView.mm:
+        (-[WebView _didFinishScrollingOrZooming]):
+        
+            Check if the animations need to be restarted after scrolling finishes.
+
 2014-05-09  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: Allow Remote Inspector to entitlement check UIProcess through WebProcess

Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (168829 => 168830)


--- trunk/Source/WebKit/mac/WebView/WebView.mm	2014-05-14 09:46:03 UTC (rev 168829)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm	2014-05-14 09:47:59 UTC (rev 168830)
@@ -1578,6 +1578,9 @@
     _private->mainViewIsScrollingOrZooming = NO;
     [self setDefersCallbacks:NO];
     [[self mainFrame] setTimeoutsPaused:NO];
+    FrameView* view = [self _mainCoreFrame]->view();
+    if (view && view->renderView())
+        view->renderView()->resumePausedImageAnimationsIfNeeded();
 }
 
 - (void)_setResourceLoadSchedulerSuspended:(BOOL)suspend
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to