Index: cc/math_util.h |
diff --git a/cc/math_util.h b/cc/math_util.h |
index f0a36abb09861f6db569410d5fc35c1ddc9038d7..ed3848e6f4b7fbdfe8b6b5264d59340b45438231 100644 |
--- a/cc/math_util.h |
+++ b/cc/math_util.h |
@@ -5,7 +5,6 @@ |
#ifndef CCMathUtil_h |
#define CCMathUtil_h |
-#include "base/logging.h" |
#include "FloatPoint.h" |
#include "FloatPoint3D.h" |
@@ -39,7 +38,7 @@ struct HomogeneousCoordinate { |
return FloatPoint(x, y); |
// For now, because this code is used privately only by CCMathUtil, it should never be called when w == 0, and we do not yet need to handle that case. |
- DCHECK(w); |
+ ASSERT(w); |
double invW = 1.0 / w; |
return FloatPoint(x * invW, y * invW); |
} |
@@ -50,7 +49,7 @@ struct HomogeneousCoordinate { |
return FloatPoint3D(x, y, z); |
// For now, because this code is used privately only by CCMathUtil, it should never be called when w == 0, and we do not yet need to handle that case. |
- DCHECK(w); |
+ ASSERT(w); |
double invW = 1.0 / w; |
return FloatPoint3D(x * invW, y * invW, z * invW); |
} |