| Index: third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
|
| index 5b83ba0cd2d796a19a1be9b6e6812e294feabc73..c6afff43dba7b3c63d9fb03039ae880ad79f9766 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
|
| @@ -227,7 +227,7 @@ void SVGAnimateMotionElement::calculateAnimatedValue(float percentage,
|
| return;
|
| }
|
|
|
| - ASSERT(!m_animationPath.isEmpty());
|
| + DCHECK(!m_animationPath.isEmpty());
|
|
|
| float positionOnPath = m_animationPath.length() * percentage;
|
| FloatPoint position;
|
| @@ -266,7 +266,7 @@ void SVGAnimateMotionElement::applyResultsToTarget() {
|
| const HeapHashSet<WeakMember<SVGElement>>& instances =
|
| targetElement->instancesForElement();
|
| for (SVGElement* shadowTreeElement : instances) {
|
| - ASSERT(shadowTreeElement);
|
| + DCHECK(shadowTreeElement);
|
| AffineTransform* transform = shadowTreeElement->animateMotionTransform();
|
| if (!transform)
|
| continue;
|
|
|