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

Unified Diff: cc/resources/scoped_resource.h

Issue 842523002: base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck2: withoutandroidchange Created 5 years, 11 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
Index: cc/resources/scoped_resource.h
diff --git a/cc/resources/scoped_resource.h b/cc/resources/scoped_resource.h
index 4241b38eae6b0201ba1714e6066d23c2a053bd19..6f8c1cd8c5478699ee9bc5409ccfa17e928e827e 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_ON()
#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_ON()
base::PlatformThreadId allocate_thread_id_;
#endif

Powered by Google App Engine
This is Rietveld 408576698