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

Unified Diff: cc/layer_sorter.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/layer_quad.cc ('k') | cc/layer_texture_sub_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_sorter.cc
diff --git a/cc/layer_sorter.cc b/cc/layer_sorter.cc
index 0344e809f9a6201464ba61fea5db4ab2ea3122d7..d106442812a894d174b78c7c4e75dc39f5cf3c3a 100644
--- a/cc/layer_sorter.cc
+++ b/cc/layer_sorter.cc
@@ -296,7 +296,7 @@ void CCLayerSorter::createGraphEdges()
void CCLayerSorter::removeEdgeFromList(GraphEdge* edge, std::vector<GraphEdge*>& list)
{
std::vector<GraphEdge*>::iterator iter = std::find(list.begin(), list.end(), edge);
- ASSERT(iter != list.end());
+ DCHECK(iter != list.end());
list.erase(iter);
}
@@ -381,7 +381,7 @@ void CCLayerSorter::sort(LayerList::iterator first, LayerList::iterator last)
nextNode = &m_nodes[i];
}
}
- ASSERT(nextNode);
+ DCHECK(nextNode);
// Remove all its incoming edges.
for (unsigned e = 0; e < nextNode->incoming.size(); e++) {
GraphEdge* incomingEdge = nextNode->incoming[e];
« no previous file with comments | « cc/layer_quad.cc ('k') | cc/layer_texture_sub_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698