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

Unified Diff: cc/CCDamageTracker.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/CCDamageTracker.cpp
diff --git a/cc/CCDamageTracker.cpp b/cc/CCDamageTracker.cpp
index bd1c31f411b9a0aec5db4e0a542b4611a95b6dbc..633ce0a8975b8a07e8ac03bffde90766c85c592b 100644
--- a/cc/CCDamageTracker.cpp
+++ b/cc/CCDamageTracker.cpp
@@ -160,8 +160,8 @@ FloatRect CCDamageTracker::removeRectFromCurrentFrame(int layerID, bool& layerIs
void CCDamageTracker::saveRectForNextFrame(int layerID, const FloatRect& targetSpaceRect)
{
// This layer should not yet exist in next frame's history.
- ASSERT(layerID > 0);
- ASSERT(m_nextRectHistory->find(layerID) == m_nextRectHistory->end());
+ DCHECK(layerID > 0);
+ DCHECK(m_nextRectHistory->find(layerID) == m_nextRectHistory->end());
m_nextRectHistory->set(layerID, targetSpaceRect);
}

Powered by Google App Engine
This is Rietveld 408576698