summaryrefslogtreecommitdiffstats
path: root/cc/damage_tracker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/damage_tracker.cc')
-rw-r--r--cc/damage_tracker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/damage_tracker.cc b/cc/damage_tracker.cc
index f6ad5fb..12901292 100644
--- a/cc/damage_tracker.cc
+++ b/cc/damage_tracker.cc
@@ -162,8 +162,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.
- DCHECK(layerID > 0);
- DCHECK(m_nextRectHistory->find(layerID) == m_nextRectHistory->end());
+ ASSERT(layerID > 0);
+ ASSERT(m_nextRectHistory->find(layerID) == m_nextRectHistory->end());
(*m_nextRectHistory)[layerID] = targetSpaceRect;
}