Title: [202738] trunk/Source/WebCore
Revision
202738
Author
[email protected]
Date
2016-07-01 09:39:53 -0700 (Fri, 01 Jul 2016)

Log Message

[Win] Animations tests are crashing in debug mode.
https://bugs.webkit.org/show_bug.cgi?id=159335

Reviewed by Alex Christensen.

A MSVC runtime check fails because an uninitialized variable is being used.

* css/StyleResolver.cpp:
(WebCore::StyleResolver::keyframeStylesForAnimation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (202737 => 202738)


--- trunk/Source/WebCore/ChangeLog	2016-07-01 16:38:11 UTC (rev 202737)
+++ trunk/Source/WebCore/ChangeLog	2016-07-01 16:39:53 UTC (rev 202738)
@@ -1,3 +1,15 @@
+2016-07-01  Per Arne Vollan  <[email protected]>
+
+        [Win] Animations tests are crashing in debug mode.
+        https://bugs.webkit.org/show_bug.cgi?id=159335
+
+        Reviewed by Alex Christensen.
+
+        A MSVC runtime check fails because an uninitialized variable is being used.
+
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::keyframeStylesForAnimation):
+
 2016-07-01  Youenn Fablet  <[email protected]>
 
         Add a runtime flag for DOM iterators

Modified: trunk/Source/WebCore/css/StyleResolver.cpp (202737 => 202738)


--- trunk/Source/WebCore/css/StyleResolver.cpp	2016-07-01 16:38:11 UTC (rev 202737)
+++ trunk/Source/WebCore/css/StyleResolver.cpp	2016-07-01 16:39:53 UTC (rev 202738)
@@ -534,7 +534,7 @@
     auto* keyframes = &keyframesRule->keyframes();
     Vector<Ref<StyleKeyframe>> newKeyframesIfNecessary;
 
-    bool hasDuplicateKeys;
+    bool hasDuplicateKeys = false;
     HashSet<double> keyframeKeys;
     for (auto& keyframe : *keyframes) {
         for (auto key : keyframe->keys()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to