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

Unified Diff: cc/scoped_texture.h

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« no previous file with comments | « cc/scoped_ptr_vector.h ('k') | cc/scoped_texture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/scoped_ptr_vector.h ('k') | cc/scoped_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698