Index: cc/CCFrameRateController.cpp |
diff --git a/cc/CCFrameRateController.cpp b/cc/CCFrameRateController.cpp |
index c996ebd767a20ab1f92506b1362d4764d22e5b70..971e9ebaf3b4a4a7383359269fc15d1c350eb113 100644 |
--- a/cc/CCFrameRateController.cpp |
+++ b/cc/CCFrameRateController.cpp |
@@ -88,7 +88,7 @@ void CCFrameRateController::setActive(bool active) |
void CCFrameRateController::setMaxFramesPending(int maxFramesPending) |
{ |
- ASSERT(maxFramesPending > 0); |
+ DCHECK(maxFramesPending > 0); |
m_maxFramesPending = maxFramesPending; |
} |
@@ -105,7 +105,7 @@ void CCFrameRateController::setSwapBuffersCompleteSupported(bool supported) |
void CCFrameRateController::onTimerTick() |
{ |
- ASSERT(m_active); |
+ DCHECK(m_active); |
// Check if we have too many frames in flight. |
bool throttled = m_numFramesPending >= m_maxFramesPending; |
@@ -138,7 +138,7 @@ void CCFrameRateController::didBeginFrame() |
void CCFrameRateController::didFinishFrame() |
{ |
- ASSERT(m_swapBuffersCompleteSupported); |
+ DCHECK(m_swapBuffersCompleteSupported); |
m_numFramesPending--; |
if (!m_isTimeSourceThrottling) |