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

Unified Diff: cc/layer_quad.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaseonenne 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..c7cc42c0ac9af59d0073b092f51fe949773a27e3 100644
--- a/cc/layer_quad.cc
+++ b/cc/layer_quad.cc
@@ -7,11 +7,13 @@
#include "CCLayerQuad.h"
+#include "base/logging.h"
+
namespace cc {
CCLayerQuad::Edge::Edge(const FloatPoint& p, const FloatPoint& q)
{
- ASSERT(p != q);
+ 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