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

Unified Diff: cc/debug_border_draw_quad.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dcheck and ndebug 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
Index: cc/debug_border_draw_quad.cc
diff --git a/cc/debug_border_draw_quad.cc b/cc/debug_border_draw_quad.cc
index aabf9e2928a094601189e653b3102a05963af31a..a8b9d358f5ec294d158a5c288e128174829febfa 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);
}

Powered by Google App Engine
This is Rietveld 408576698