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

Unified Diff: cc/checkerboard_draw_quad.cc

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
« no previous file with comments | « cc/cc.gyp ('k') | cc/completion_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/checkerboard_draw_quad.cc
diff --git a/cc/checkerboard_draw_quad.cc b/cc/checkerboard_draw_quad.cc
index f1b34a3de842359f624309a5b6aa7f67024fc49a..5beabff572a43375fc4f2c0aef6ff364c087ca04 100644
--- a/cc/checkerboard_draw_quad.cc
+++ b/cc/checkerboard_draw_quad.cc
@@ -6,6 +6,8 @@
#include "CCCheckerboardDrawQuad.h"
+#include "cc/dcheck.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);
+ CC_DCHECK(quad->material() == CCDrawQuad::Checkerboard);
return static_cast<const CCCheckerboardDrawQuad*>(quad);
}
« no previous file with comments | « cc/cc.gyp ('k') | cc/completion_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698