Unreviewed, fix the Windows build.
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Apr 2018 17:41:37 +0000 (17:41 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Apr 2018 17:41:37 +0000 (17:41 +0000)
* animation/DocumentTimeline.cpp:
(WebCore::DocumentTimeline::computeExtentOfAnimation const):

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

Source/WebCore/ChangeLog
Source/WebCore/animation/DocumentTimeline.cpp

index de406e2..3030160 100644 (file)
@@ -1,5 +1,12 @@
 2018-04-12  Antoine Quint  <graouts@apple.com>
 
+        Unreviewed, fix the Windows build.
+
+        * animation/DocumentTimeline.cpp:
+        (WebCore::DocumentTimeline::computeExtentOfAnimation const):
+
+2018-04-12  Antoine Quint  <graouts@apple.com>
+
         [Web Animations] Suspend animations when required
         https://bugs.webkit.org/show_bug.cgi?id=184541
 
index ea74b7f..9306f42 100644 (file)
@@ -255,7 +255,7 @@ bool DocumentTimeline::computeExtentOfAnimation(RenderElement& renderer, LayoutR
     if (!renderer.element())
         return true;
 
-    KeyframeEffectReadOnly* matchingEffect;
+    KeyframeEffectReadOnly* matchingEffect = nullptr;
     for (const auto& animation : animationsForElement(*renderer.element())) {
         auto* effect = animation->effect();
         if (is<KeyframeEffectReadOnly>(effect)) {