| Index: Source/core/css/StyleRuleKeyframe.cpp
|
| diff --git a/Source/core/css/StyleRuleKeyframe.cpp b/Source/core/css/StyleRuleKeyframe.cpp
|
| index 186adeab75bdc319f4d1db3170d7b78d8c83d03d..d2d1b4454883bd8bf1ebcd1de4c2c568a24e6012 100644
|
| --- a/Source/core/css/StyleRuleKeyframe.cpp
|
| +++ b/Source/core/css/StyleRuleKeyframe.cpp
|
| @@ -7,7 +7,6 @@
|
|
|
| #include "core/css/StylePropertySet.h"
|
| #include "core/css/parser/CSSParser.h"
|
| -#include "core/css/parser/CSSParserValues.h"
|
| #include "wtf/text/StringBuilder.h"
|
|
|
| namespace blink {
|
| @@ -71,25 +70,6 @@ String StyleRuleKeyframe::cssText() const
|
| return result.toString();
|
| }
|
|
|
| -PassOwnPtr<Vector<double>> StyleRuleKeyframe::createKeyList(CSSParserValueList* keys)
|
| -{
|
| - size_t numKeys = keys ? keys->size() : 0;
|
| - OwnPtr<Vector<double>> keyVector = adoptPtr(new Vector<double>(numKeys));
|
| - for (size_t i = 0; i < numKeys; ++i) {
|
| - ASSERT(keys->valueAt(i)->unit == CSSPrimitiveValue::CSS_NUMBER);
|
| - double key = keys->valueAt(i)->fValue;
|
| - if (key < 0 || key > 100) {
|
| - // As per http://www.w3.org/TR/css3-animations/#keyframes,
|
| - // "If a keyframe selector specifies negative percentage values
|
| - // or values higher than 100%, then the keyframe will be ignored."
|
| - keyVector->clear();
|
| - break;
|
| - }
|
| - keyVector->at(i) = key / 100;
|
| - }
|
| - return keyVector.release();
|
| -}
|
| -
|
| DEFINE_TRACE_AFTER_DISPATCH(StyleRuleKeyframe)
|
| {
|
| visitor->trace(m_properties);
|
|
|