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

Unified Diff: cc/quad_culler.cc

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase 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/proxy.cc ('k') | cc/rate_limiter.cc » ('j') | cc/yuv_video_draw_quad.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quad_culler.cc
diff --git a/cc/quad_culler.cc b/cc/quad_culler.cc
index bb854ba6b9711e447c36a3dc78830e07960964c4..47f888fc9ff5b90af77531c73b8be37fcfad3389 100644
--- a/cc/quad_culler.cc
+++ b/cc/quad_culler.cc
@@ -70,10 +70,10 @@ static inline bool appendQuadInternal(scoped_ptr<CCDrawQuad> drawQuad, const Int
bool CCQuadCuller::append(scoped_ptr<CCDrawQuad> drawQuad, CCAppendQuadsData& appendQuadsData)
{
- ASSERT(drawQuad->sharedQuadState() == m_currentSharedQuadState);
- ASSERT(drawQuad->sharedQuadStateId() == m_currentSharedQuadState->id);
- ASSERT(!m_sharedQuadStateList.isEmpty());
- ASSERT(m_sharedQuadStateList.last() == m_currentSharedQuadState);
+ CC_DCHECK(drawQuad->sharedQuadState() == m_currentSharedQuadState);
+ CC_DCHECK(drawQuad->sharedQuadStateId() == m_currentSharedQuadState->id);
+ CC_DCHECK(!m_sharedQuadStateList.isEmpty());
+ CC_DCHECK(m_sharedQuadStateList.last() == m_currentSharedQuadState);
IntRect culledRect;
bool hasOcclusionFromOutsideTargetSurface;
« no previous file with comments | « cc/proxy.cc ('k') | cc/rate_limiter.cc » ('j') | cc/yuv_video_draw_quad.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698