| Index: Source/core/svg/SVGFEColorMatrixElement.cpp
|
| diff --git a/Source/core/svg/SVGFEColorMatrixElement.cpp b/Source/core/svg/SVGFEColorMatrixElement.cpp
|
| index aa12c2b3c817c45db6396d24f6d17f2fa4319ef2..6eb60344ec0b1ea1449a9abfd1e1616058a4d223 100644
|
| --- a/Source/core/svg/SVGFEColorMatrixElement.cpp
|
| +++ b/Source/core/svg/SVGFEColorMatrixElement.cpp
|
| @@ -66,12 +66,8 @@ bool SVGFEColorMatrixElement::setFilterEffectAttribute(FilterEffect* effect, con
|
| FEColorMatrix* colorMatrix = static_cast<FEColorMatrix*>(effect);
|
| if (attrName == SVGNames::typeAttr)
|
| return colorMatrix->setType(m_type->currentValue()->enumValue());
|
| - if (attrName == SVGNames::valuesAttr) {
|
| - Vector<float> values = m_values->currentValue()->toFloatVector();
|
| - if (values.size() == 20)
|
| - return colorMatrix->setValues(m_values->currentValue()->toFloatVector());
|
| - return false;
|
| - }
|
| + if (attrName == SVGNames::valuesAttr)
|
| + return colorMatrix->setValues(m_values->currentValue()->toFloatVector());
|
|
|
| ASSERT_NOT_REACHED();
|
| return false;
|
|
|