Index: Source/core/svg/SVGFECompositeElement.cpp |
diff --git a/Source/core/svg/SVGFECompositeElement.cpp b/Source/core/svg/SVGFECompositeElement.cpp |
index 6b8a569c53a717adbd706536b9f02e9945277d0a..4eae0695f438d36ee202dd3ad9feb9735cd4ec23 100644 |
--- a/Source/core/svg/SVGFECompositeElement.cpp |
+++ b/Source/core/svg/SVGFECompositeElement.cpp |
@@ -38,10 +38,16 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<CompositeOp |
entries.append(std::make_pair(FECOMPOSITE_OPERATOR_ATOP, "atop")); |
entries.append(std::make_pair(FECOMPOSITE_OPERATOR_XOR, "xor")); |
entries.append(std::make_pair(FECOMPOSITE_OPERATOR_ARITHMETIC, "arithmetic")); |
+ entries.append(std::make_pair(FECOMPOSITE_OPERATOR_LIGHTER, "lighter")); |
} |
return entries; |
} |
+template<> unsigned short getMaxExposedEnumValue<CompositeOperationType>() |
+{ |
+ return FECOMPOSITE_OPERATOR_ARITHMETIC; |
+} |
+ |
inline SVGFECompositeElement::SVGFECompositeElement(Document& document) |
: SVGFilterPrimitiveStandardAttributes(SVGNames::feCompositeTag, document) |
, m_k1(SVGAnimatedNumber::create(this, SVGNames::k1Attr, SVGNumber::create())) |