| 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();
|
| }
|
|
|