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

Unified Diff: cc/prioritized_texture_unittest.cc

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/prioritized_texture_manager.cc ('k') | cc/program_binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/prioritized_texture_unittest.cc
diff --git a/cc/prioritized_texture_unittest.cc b/cc/prioritized_texture_unittest.cc
index a3d86023e301301bd6d847a454c120c2921b0767..8a031074b2e24a699e7b1baaea2d75a6ff6cafd7 100644
--- a/cc/prioritized_texture_unittest.cc
+++ b/cc/prioritized_texture_unittest.cc
@@ -80,7 +80,7 @@ public:
void textureManagerAssertInvariants(CCPrioritizedTextureManager* textureManager)
{
-#if !ASSERT_DISABLED
+#if CC_DCHECK_ENABLED()
DebugScopedSetImplThreadAndMainThreadBlocked implThreadAndMainThreadBlocked;
textureManager->assertInvariants();
#endif
« no previous file with comments | « cc/prioritized_texture_manager.cc ('k') | cc/program_binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698