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

Unified Diff: cc/CCLayerQuad.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/CCLayerQuad.cpp
diff --git a/cc/CCLayerQuad.cpp b/cc/CCLayerQuad.cpp
index 96426225d3e6fef2143bc931e57b2b9ed60ea094..878f9ec5df3d71c04c8a206c6c0ff4ea05b48a4f 100644
--- a/cc/CCLayerQuad.cpp
+++ b/cc/CCLayerQuad.cpp
@@ -9,11 +9,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();
« cc/CCCompletionEvent.h ('K') | « cc/CCLayerIterator.h ('k') | cc/CCLayerSorter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698