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

Unified Diff: cc/CCDebugBorderDrawQuad.cpp

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
Index: cc/CCDebugBorderDrawQuad.cpp
diff --git a/cc/CCDebugBorderDrawQuad.cpp b/cc/CCDebugBorderDrawQuad.cpp
index aabf9e2928a094601189e653b3102a05963af31a..a8b9d358f5ec294d158a5c288e128174829febfa 100644
--- a/cc/CCDebugBorderDrawQuad.cpp
+++ b/cc/CCDebugBorderDrawQuad.cpp
@@ -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);
}
« cc/CCCompletionEvent.h ('K') | « cc/CCDamageTracker.cpp ('k') | cc/CCDebugRectHistory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698