| Index: third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp
|
| index c5a59884d92458e66b478183cd734137fd97e4b3..66bfc15ee5e8655dd74b786eb297ff0039406cc4 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp
|
| @@ -291,10 +291,10 @@ AffineTransform SVGPreserveAspectRatio::getCTM(float logicalX,
|
| float logicalHeight,
|
| float physicalWidth,
|
| float physicalHeight) const {
|
| - ASSERT(logicalWidth);
|
| - ASSERT(logicalHeight);
|
| - ASSERT(physicalWidth);
|
| - ASSERT(physicalHeight);
|
| + DCHECK(logicalWidth);
|
| + DCHECK(logicalHeight);
|
| + DCHECK(physicalWidth);
|
| + DCHECK(physicalHeight);
|
|
|
| AffineTransform transform;
|
| if (m_align == kSvgPreserveaspectratioUnknown)
|
| @@ -441,7 +441,7 @@ void SVGPreserveAspectRatio::calculateAnimatedValue(
|
| SVGPropertyBase* toValue,
|
| SVGPropertyBase*,
|
| SVGElement*) {
|
| - ASSERT(animationElement);
|
| + DCHECK(animationElement);
|
|
|
| bool useToValue;
|
| animationElement->animateDiscreteType(percentage, false, true, useToValue);
|
|
|