diff options
Diffstat (limited to 'cc/checkerboard_draw_quad.cc')
-rw-r--r-- | cc/checkerboard_draw_quad.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/checkerboard_draw_quad.cc b/cc/checkerboard_draw_quad.cc index f1b34a3..cba8813 100644 --- a/cc/checkerboard_draw_quad.cc +++ b/cc/checkerboard_draw_quad.cc @@ -6,6 +6,8 @@ #include "CCCheckerboardDrawQuad.h" +#include "base/logging.h" + namespace cc { scoped_ptr<CCCheckerboardDrawQuad> CCCheckerboardDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color) @@ -21,7 +23,7 @@ CCCheckerboardDrawQuad::CCCheckerboardDrawQuad(const CCSharedQuadState* sharedQu const CCCheckerboardDrawQuad* CCCheckerboardDrawQuad::materialCast(const CCDrawQuad* quad) { - ASSERT(quad->material() == CCDrawQuad::Checkerboard); + DCHECK(quad->material() == CCDrawQuad::Checkerboard); return static_cast<const CCCheckerboardDrawQuad*>(quad); } |