Index: cc/scoped_texture.h |
diff --git a/cc/scoped_texture.h b/cc/scoped_texture.h |
index 7e27fd59c5b3a5130d1dc930efabae990c7df423..5ca8acd0da95f336e162404dc24804ee8c896598 100644 |
--- a/cc/scoped_texture.h |
+++ b/cc/scoped_texture.h |
@@ -7,9 +7,10 @@ |
#include "base/basictypes.h" |
#include "base/memory/scoped_ptr.h" |
+#include "cc/dcheck.h" |
#include "CCTexture.h" |
-#if !ASSERT_DISABLED |
+#if CC_DCHECK_ENABLED() |
#include "base/threading/platform_thread.h" |
#endif |
@@ -35,7 +36,7 @@ protected: |
private: |
CCResourceProvider* m_resourceProvider; |
-#if !ASSERT_DISABLED |
+#if CC_DCHECK_ENABLED() |
base::PlatformThreadId m_allocateThreadIdentifier; |
#endif |