Ignore:
Timestamp:
Aug 29, 2012, 1:46:11 PM (13 years ago)
Author:
[email protected]
Message:

Use Animation::IterationCountInfinite instead of -1 when setting iteration count
https://bugs.webkit.org/show_bug.cgi?id=95339

Reviewed by Andreas Kling.

  • css/CSSToStyleMap.cpp: Replace -1 for the proper enum.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/css/CSSToStyleMap.cpp

    r121289 r127045  
    362362    CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(value);
    363363    if (primitiveValue->getIdent() == CSSValueInfinite)
    364         animation->setIterationCount(-1);
     364        animation->setIterationCount(Animation::IterationCountInfinite);
    365365    else
    366366        animation->setIterationCount(primitiveValue->getFloatValue());
Note: See TracChangeset for help on using the changeset viewer.