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

Unified Diff: cc/quad_culler.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/proxy.cc ('k') | cc/rate_limiter.cc » ('j') | no next file with comments »
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 3a7c96cdced6d99ecb7fc8e80340a56790ce8e3c..6733b312035ad3d4f287709c2a68022519f400e9 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);
+ DCHECK(drawQuad->sharedQuadState() == m_currentSharedQuadState);
+ DCHECK(drawQuad->sharedQuadStateId() == m_currentSharedQuadState->id);
+ DCHECK(!m_sharedQuadStateList.isEmpty());
+ DCHECK(m_sharedQuadStateList.last() == m_currentSharedQuadState);
IntRect culledRect;
bool hasOcclusionFromOutsideTargetSurface;
« no previous file with comments | « cc/proxy.cc ('k') | cc/rate_limiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698