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

Unified Diff: cc/scoped_thread_proxy.h

Issue 11196014: Revert "cc: Switch to Chromium DCHECKs LOGs" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/scoped_texture.cc ('k') | cc/scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scoped_thread_proxy.h
diff --git a/cc/scoped_thread_proxy.h b/cc/scoped_thread_proxy.h
index c6ac44019ebb885ce9090cf748317877fbeab44b..802046dcfa858a6dbe09b4d0896adac1b99f10f3 100644
--- a/cc/scoped_thread_proxy.h
+++ b/cc/scoped_thread_proxy.h
@@ -6,7 +6,6 @@
#define CCScopedThreadProxy_h
#include "CCThreadTask.h"
-#include "base/logging.h"
#include "base/threading/platform_thread.h"
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
@@ -28,7 +27,7 @@ class CCScopedThreadProxy : public ThreadSafeRefCounted<CCScopedThreadProxy> {
public:
static PassRefPtr<CCScopedThreadProxy> create(CCThread* targetThread)
{
- DCHECK(base::PlatformThread::CurrentId() == targetThread->threadID());
+ ASSERT(base::PlatformThread::CurrentId() == targetThread->threadID());
return adoptRef(new CCScopedThreadProxy(targetThread));
}
@@ -44,8 +43,8 @@ public:
void shutdown()
{
- DCHECK(base::PlatformThread::CurrentId() == m_targetThread->threadID());
- DCHECK(!m_shutdown);
+ ASSERT(base::PlatformThread::CurrentId() == m_targetThread->threadID());
+ ASSERT(!m_shutdown);
m_shutdown = true;
}
@@ -61,7 +60,7 @@ private:
deref();
return;
}
- DCHECK(base::PlatformThread::CurrentId() == m_targetThread->threadID());
+ ASSERT(base::PlatformThread::CurrentId() == m_targetThread->threadID());
task->performTask();
deref();
}
« no previous file with comments | « cc/scoped_texture.cc ('k') | cc/scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698