CrashTracer: com.apple.WebKit.WebContent at WebCore: WebCore::Document::updateStyleIf...
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jan 2018 20:29:02 +0000 (20:29 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jan 2018 20:29:02 +0000 (20:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=182299
<rdar://problem/36853088>

Removing a misleading comment based on Zalan Bujtas's feedback.

* rendering/RenderElement.cpp:
(WebCore::RenderElement::repaintForPausedImageAnimationsIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227846 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderElement.cpp

index f091944..43b807f 100644 (file)
@@ -4,6 +4,17 @@
         https://bugs.webkit.org/show_bug.cgi?id=182299
         <rdar://problem/36853088>
 
+        Removing a misleading comment based on Zalan Bujtas's feedback.
+
+        * rendering/RenderElement.cpp:
+        (WebCore::RenderElement::repaintForPausedImageAnimationsIfNeeded):
+
+2018-01-30  Dean Jackson  <dino@apple.com>
+
+        CrashTracer: com.apple.WebKit.WebContent at WebCore: WebCore::Document::updateStyleIfNeeded
+        https://bugs.webkit.org/show_bug.cgi?id=182299
+        <rdar://problem/36853088>
+
         Reviewed by Simon Fraser.
 
         Mostly speculative fix for the case where a scrollTo moves an
index aac3502..b1001af 100644 (file)
@@ -1470,8 +1470,6 @@ bool RenderElement::repaintForPausedImageAnimationsIfNeeded(const IntRect& visib
     repaint();
 
     if (auto* image = cachedImage.image()) {
-        // SVGImages might cause a layout when starting an animation, so
-        // schedule them rather than start immediately.
         if (is<SVGImage>(image))
             downcast<SVGImage>(image)->scheduleStartAnimation();
         else