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

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: 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..e39dc9db266f31057050f8e5bc804fe7ac075551 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698