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

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: 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/resource_provider_unittest.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler.cc
diff --git a/cc/scheduler.cc b/cc/scheduler.cc
index babaaf6a4c82743df60a5928bc457fa225b1f4e3..d89ebb6dfc8f2e55b431b307d9d9797a47c72784 100644
--- a/cc/scheduler.cc
+++ b/cc/scheduler.cc
@@ -6,8 +6,9 @@
#include "CCScheduler.h"
-#include "base/debug/trace_event.h"
#include "base/auto_reset.h"
+#include "base/debug/trace_event.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()
« no previous file with comments | « cc/resource_provider_unittest.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698