Index: cc/single_thread_proxy.h |
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h |
index 979dbb3907f529f510878397c38a9725c2249d4b..0746e84f77b65c810578d16633fde8238ada9bb8 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 |
} |