| Index: cc/animation_curve.cc
|
| diff --git a/cc/animation_curve.cc b/cc/animation_curve.cc
|
| index 7cd01587d4b29a7b57c93a3ebdf287f936936008..c2c3dc001cfd50f633f58ab71f6522c62bf22bdc 100644
|
| --- a/cc/animation_curve.cc
|
| +++ b/cc/animation_curve.cc
|
| @@ -6,11 +6,13 @@
|
|
|
| #include "CCAnimationCurve.h"
|
|
|
| +#include "base/logging.h"
|
| +
|
| namespace cc {
|
|
|
| const CCFloatAnimationCurve* CCAnimationCurve::toFloatAnimationCurve() const
|
| {
|
| - ASSERT(type() == CCAnimationCurve::Float);
|
| + DCHECK(type() == CCAnimationCurve::Float);
|
| return static_cast<const CCFloatAnimationCurve*>(this);
|
| }
|
|
|
| @@ -21,7 +23,7 @@ CCAnimationCurve::Type CCFloatAnimationCurve::type() const
|
|
|
| const CCTransformAnimationCurve* CCAnimationCurve::toTransformAnimationCurve() const
|
| {
|
| - ASSERT(type() == CCAnimationCurve::Transform);
|
| + DCHECK(type() == CCAnimationCurve::Transform);
|
| return static_cast<const CCTransformAnimationCurve*>(this);
|
| }
|
|
|
|
|