summaryrefslogtreecommitdiffstats
path: root/cc/prioritized_texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/prioritized_texture.h')
-rw-r--r--cc/prioritized_texture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/prioritized_texture.h b/cc/prioritized_texture.h
index 242147c..24278db 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()
CCResourceProvider* m_resourceProvider;
#endif