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

Unified Diff: cc/layer_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/layer_iterator.h ('k') | cc/layer_sorter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_quad.cc
diff --git a/cc/layer_quad.cc b/cc/layer_quad.cc
index 08c16bb0d5140792236efd902c6a89427acb7c0f..5b56d8212f36503a6591a98c2350f9637009ad3f 100644
--- a/cc/layer_quad.cc
+++ b/cc/layer_quad.cc
@@ -7,11 +7,13 @@
#include "CCLayerQuad.h"
+#include "cc/dcheck.h"
+
namespace cc {
CCLayerQuad::Edge::Edge(const FloatPoint& p, const FloatPoint& q)
{
- ASSERT(p != q);
+ CC_DCHECK(p != q);
FloatPoint tangent(p.y() - q.y(), q.x() - p.x());
float cross2 = p.x() * q.y() - q.x() * p.y();
« no previous file with comments | « cc/layer_iterator.h ('k') | cc/layer_sorter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698