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

Unified Diff: cc/damage_tracker.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/completion_event.h ('k') | cc/debug_border_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/damage_tracker.cc
diff --git a/cc/damage_tracker.cc b/cc/damage_tracker.cc
index 12901292837e5f338f8606ce82cdcdc8a256362f..f6ad5fbcf99dbe77f254389688ed0e466a05d311 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.
- ASSERT(layerID > 0);
- ASSERT(m_nextRectHistory->find(layerID) == m_nextRectHistory->end());
+ DCHECK(layerID > 0);
+ DCHECK(m_nextRectHistory->find(layerID) == m_nextRectHistory->end());
(*m_nextRectHistory)[layerID] = targetSpaceRect;
}
« no previous file with comments | « cc/completion_event.h ('k') | cc/debug_border_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698