Changeset 202738 in webkit


Ignore:
Timestamp:
Jul 1, 2016 9:39:53 AM (8 years ago)
Author:
pvollan@apple.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r202728 r202738  
     12016-07-01  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] Animations tests are crashing in debug mode.
     4        https://bugs.webkit.org/show_bug.cgi?id=159335
     5
     6        Reviewed by Alex Christensen.
     7
     8        A MSVC runtime check fails because an uninitialized variable is being used.
     9
     10        * css/StyleResolver.cpp:
     11        (WebCore::StyleResolver::keyframeStylesForAnimation):
     12
    1132016-07-01  Youenn Fablet  <youennf@gmail.com>
    214
  • trunk/Source/WebCore/css/StyleResolver.cpp

    r202656 r202738  
    535535    Vector<Ref<StyleKeyframe>> newKeyframesIfNecessary;
    536536
    537     bool hasDuplicateKeys;
     537    bool hasDuplicateKeys = false;
    538538    HashSet<double> keyframeKeys;
    539539    for (auto& keyframe : *keyframes) {
Note: See TracChangeset for help on using the changeset viewer.