Index: cc/throttled_texture_uploader.cc |
diff --git a/cc/throttled_texture_uploader.cc b/cc/throttled_texture_uploader.cc |
index ddfe84e95d2a13a3da3b812762ec9187095c7bab..3a241b2212ea47f75679e2a1371ae6d83a95ef72 100644 |
--- a/cc/throttled_texture_uploader.cc |
+++ b/cc/throttled_texture_uploader.cc |
@@ -114,7 +114,7 @@ void ThrottledTextureUploader::markPendingUploadsAsNonBlocking() |
(*it)->markAsNonBlocking(); |
} |
- ASSERT(!m_numBlockingTextureUploads); |
+ DCHECK(!m_numBlockingTextureUploads); |
} |
double ThrottledTextureUploader::estimatedTexturesPerSecond() |
@@ -122,7 +122,7 @@ double ThrottledTextureUploader::estimatedTexturesPerSecond() |
processQueries(); |
// The history should never be empty because we initialize all elements with an estimate. |
- ASSERT(m_texturesPerSecondHistory.size() == uploadHistorySize); |
+ DCHECK(m_texturesPerSecondHistory.size() == uploadHistorySize); |
// Sort the history and use the median as our estimate. |
std::vector<double> sortedHistory(m_texturesPerSecondHistory.begin(), |