summaryrefslogtreecommitdiffstats
path: root/cc/keyframed_animation_curve.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/keyframed_animation_curve.cc')
-rw-r--r--cc/keyframed_animation_curve.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/keyframed_animation_curve.cc b/cc/keyframed_animation_curve.cc
index b536095..a6b368e 100644
--- a/cc/keyframed_animation_curve.cc
+++ b/cc/keyframed_animation_curve.cc
@@ -31,7 +31,7 @@ void insertKeyframe(scoped_ptr<Keyframe> keyframe, ScopedPtrVector<Keyframe>& ke
scoped_ptr<CCTimingFunction> cloneTimingFunction(const CCTimingFunction* timingFunction)
{
- DCHECK(timingFunction);
+ ASSERT(timingFunction);
scoped_ptr<CCAnimationCurve> curve(timingFunction->clone());
return scoped_ptr<CCTimingFunction>(static_cast<CCTimingFunction*>(curve.release()));
}