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

Unified Diff: cc/single_thread_proxy.h

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/shader.cc ('k') | cc/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/single_thread_proxy.h
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h
index ed70b80fb944206a8650830b08744a9c8a9e4e58..35bd7cc650fbccfece6e9335cc1b87803a97e30f 100644
--- a/cc/single_thread_proxy.h
+++ b/cc/single_thread_proxy.h
@@ -8,7 +8,7 @@
#include "CCAnimationEvents.h"
#include "CCLayerTreeHostImpl.h"
#include "CCProxy.h"
-#include <base/time.h>
+#include "base/time.h"
#include <limits>
namespace cc {
@@ -90,13 +90,13 @@ class DebugScopedSetImplThread {
public:
DebugScopedSetImplThread()
{
-#if !ASSERT_DISABLED
+#ifndef NDEBUG
CCProxy::setCurrentThreadIsImplThread(true);
#endif
}
~DebugScopedSetImplThread()
{
-#if !ASSERT_DISABLED
+#ifndef NDEBUG
CCProxy::setCurrentThreadIsImplThread(false);
#endif
}
@@ -108,13 +108,13 @@ class DebugScopedSetMainThread {
public:
DebugScopedSetMainThread()
{
-#if !ASSERT_DISABLED
+#ifndef NDEBUG
CCProxy::setCurrentThreadIsImplThread(false);
#endif
}
~DebugScopedSetMainThread()
{
-#if !ASSERT_DISABLED
+#ifndef NDEBUG
CCProxy::setCurrentThreadIsImplThread(true);
#endif
}
« no previous file with comments | « cc/shader.cc ('k') | cc/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698