| Index: third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp
|
| index 95ebbe8e45ff3c0ab8a766ab40ab64a152ccf80f..bd62abba00cd06bf92f66b9a90a9a58ab5f0ecf2 100644
|
| --- a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp
|
| @@ -37,13 +37,17 @@ namespace blink {
|
| SVGAnimatedPropertyBase::SVGAnimatedPropertyBase(
|
| AnimatedPropertyType type,
|
| SVGElement* contextElement,
|
| - const QualifiedName& attributeName)
|
| + const QualifiedName& attributeName,
|
| + CSSPropertyID cssPropertyId)
|
| : m_type(type),
|
| + m_cssPropertyId(cssPropertyId),
|
| m_isReadOnly(false),
|
| m_contextElement(contextElement),
|
| m_attributeName(attributeName) {
|
| - ASSERT(m_contextElement);
|
| - ASSERT(m_attributeName != QualifiedName::null());
|
| + DCHECK(m_contextElement);
|
| + DCHECK(m_attributeName != QualifiedName::null());
|
| + DCHECK_EQ(this->type(), type);
|
| + DCHECK_EQ(this->cssPropertyId(), cssPropertyId);
|
| }
|
|
|
| SVGAnimatedPropertyBase::~SVGAnimatedPropertyBase() {}
|
|
|