summaryrefslogtreecommitdiffstats
path: root/cc/debug_border_draw_quad.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/debug_border_draw_quad.cc')
-rw-r--r--cc/debug_border_draw_quad.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/debug_border_draw_quad.cc b/cc/debug_border_draw_quad.cc
index aabf9e2..a8b9d35 100644
--- a/cc/debug_border_draw_quad.cc
+++ b/cc/debug_border_draw_quad.cc
@@ -6,6 +6,8 @@
#include "CCDebugBorderDrawQuad.h"
+#include "base/logging.h"
+
namespace cc {
scoped_ptr<CCDebugBorderDrawQuad> CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
@@ -25,7 +27,7 @@ CCDebugBorderDrawQuad::CCDebugBorderDrawQuad(const CCSharedQuadState* sharedQuad
const CCDebugBorderDrawQuad* CCDebugBorderDrawQuad::materialCast(const CCDrawQuad* quad)
{
- ASSERT(quad->material() == CCDrawQuad::DebugBorder);
+ DCHECK(quad->material() == CCDrawQuad::DebugBorder);
return static_cast<const CCDebugBorderDrawQuad*>(quad);
}