Index: cc/single_thread_proxy.h |
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h |
index 2bbacefdf1034a967c19c9bb6f4c8382ef017767..d43d8748a2c43f2e6b507df7d4b943795f381c47 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 |
+#if CC_DCHECK_ENABLED() |
CCProxy::setCurrentThreadIsImplThread(true); |
#endif |
} |
~DebugScopedSetImplThread() |
{ |
-#if !ASSERT_DISABLED |
+#if CC_DCHECK_ENABLED() |
CCProxy::setCurrentThreadIsImplThread(false); |
#endif |
} |
@@ -108,13 +108,13 @@ class DebugScopedSetMainThread { |
public: |
DebugScopedSetMainThread() |
{ |
-#if !ASSERT_DISABLED |
+#if CC_DCHECK_ENABLED() |
CCProxy::setCurrentThreadIsImplThread(false); |
#endif |
} |
~DebugScopedSetMainThread() |
{ |
-#if !ASSERT_DISABLED |
+#if CC_DCHECK_ENABLED() |
CCProxy::setCurrentThreadIsImplThread(true); |
#endif |
} |