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

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: remove-rebased-asserts 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
Index: cc/scoped_texture.h
diff --git a/cc/scoped_texture.h b/cc/scoped_texture.h
index 7e27fd59c5b3a5130d1dc930efabae990c7df423..336a8243713d86c7e63b155b07e607b517759a95 100644
--- a/cc/scoped_texture.h
+++ b/cc/scoped_texture.h
@@ -9,7 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "CCTexture.h"
-#if !ASSERT_DISABLED
+#if CC_DCHECK_ENABLED()
#include "base/threading/platform_thread.h"
#endif
@@ -35,7 +35,7 @@ protected:
private:
CCResourceProvider* m_resourceProvider;
-#if !ASSERT_DISABLED
+#if CC_DCHECK_ENABLED()
base::PlatformThreadId m_allocateThreadIdentifier;
#endif
« cc/program_binding.cc ('K') | « 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