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

Unified Diff: cc/scheduler.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dcheck and ndebug 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
Index: cc/scheduler.cc
diff --git a/cc/scheduler.cc b/cc/scheduler.cc
index 869cd19210f2fa4159e8d1e059b264ac5737b0c8..eb24306bcc3be192f44e59a11c7075bb3e0f466a 100644
--- a/cc/scheduler.cc
+++ b/cc/scheduler.cc
@@ -7,7 +7,8 @@
#include "CCScheduler.h"
#include "TraceEvent.h"
-#include <base/auto_reset.h>
+#include "base/auto_reset.h"
+#include "base/logging.h"
namespace cc {
@@ -16,9 +17,9 @@ CCScheduler::CCScheduler(CCSchedulerClient* client, scoped_ptr<CCFrameRateContro
, m_frameRateController(frameRateController.Pass())
, m_insideProcessScheduledActions(false)
{
- ASSERT(m_client);
+ DCHECK(m_client);
m_frameRateController->setClient(this);
- ASSERT(!m_stateMachine.vsyncCallbackNeeded());
+ DCHECK(!m_stateMachine.vsyncCallbackNeeded());
}
CCScheduler::~CCScheduler()

Powered by Google App Engine
This is Rietveld 408576698