Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1443)

Unified Diff: cc/CCKeyframedAnimationCurve.cpp

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/CCKeyframedAnimationCurve.cpp
diff --git a/cc/CCKeyframedAnimationCurve.cpp b/cc/CCKeyframedAnimationCurve.cpp
index 5357976354326e98c70238f716ab77b10f7b90cd..d584fcc060bf16b9302cc385fbbf14a2aff0eadf 100644
--- a/cc/CCKeyframedAnimationCurve.cpp
+++ b/cc/CCKeyframedAnimationCurve.cpp
@@ -35,7 +35,7 @@ void insertKeyframe(PassOwnPtr<Keyframe> popKeyframe, OwnPtrVector<Keyframe>& ke
PassOwnPtr<CCTimingFunction> cloneTimingFunction(const CCTimingFunction* timingFunction)
{
- ASSERT(timingFunction);
+ DCHECK(timingFunction);
OwnPtr<CCAnimationCurve> curve(timingFunction->clone());
return adoptPtr(static_cast<CCTimingFunction*>(curve.leakPtr()));
}

Powered by Google App Engine
This is Rietveld 408576698