Index: cc/resources/scoped_resource.h |
diff --git a/cc/resources/scoped_resource.h b/cc/resources/scoped_resource.h |
index 4241b38eae6b0201ba1714e6066d23c2a053bd19..e829bacd689bab3e173e86ecf00e184d48ca390b 100644 |
--- a/cc/resources/scoped_resource.h |
+++ b/cc/resources/scoped_resource.h |
@@ -11,7 +11,7 @@ |
#include "cc/base/cc_export.h" |
#include "cc/resources/resource.h" |
-#if DCHECK_IS_ON |
+#if !DCHECK_IS_OFF |
#include "base/threading/platform_thread.h" |
#endif |
@@ -39,7 +39,7 @@ class CC_EXPORT ScopedResource : public Resource { |
private: |
ResourceProvider* resource_provider_; |
-#if DCHECK_IS_ON |
+#if !DCHECK_IS_OFF |
base::PlatformThreadId allocate_thread_id_; |
#endif |