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

Unified Diff: cc/prioritized_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/prioritized_texture.h
diff --git a/cc/prioritized_texture.h b/cc/prioritized_texture.h
index 242147c2a8b82bedb313e8d1ff768cacafe75da0..24278dbc9eeb9d146064264720c7c119fbc781af 100644
--- a/cc/prioritized_texture.h
+++ b/cc/prioritized_texture.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
+#include "cc/dcheck.h"
#include "CCPriorityCalculator.h"
#include "CCResourceProvider.h"
#include "CCTexture.h"
@@ -111,7 +112,7 @@ private:
bool m_inDrawingImplTree;
bool m_resourceHasBeenDeleted;
-#ifndef NDEBUG
+#if CC_DCHECK_ENABLED()
slavi 2012/10/16 20:31:46 Keep this as #ifndef NDEBUG?
danakj 2012/10/16 20:36:18 No, we want debug checks on the trybots..
CCResourceProvider* m_resourceProvider;
#endif

Powered by Google App Engine
This is Rietveld 408576698