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

Unified Diff: cc/animation_curve.cc

Issue 11196014: Revert "cc: Switch to Chromium DCHECKs LOGs" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « cc/DEPS ('k') | cc/caching_bitmap_canvas_layer_texture_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « cc/DEPS ('k') | cc/caching_bitmap_canvas_layer_texture_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698