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