Index: src/gpu/GrBufferAllocPool.cpp |
diff --git a/src/gpu/GrBufferAllocPool.cpp b/src/gpu/GrBufferAllocPool.cpp |
index b503e24f1e58b60e927e6ee1acdbdf890c9554fd..a2247a0ba171ec7e077591acf5d7bbc2045490f3 100644 |
--- a/src/gpu/GrBufferAllocPool.cpp |
+++ b/src/gpu/GrBufferAllocPool.cpp |
@@ -14,7 +14,7 @@ |
#include "GrTypes.h" |
#include "GrVertexBuffer.h" |
-#if GR_DEBUG |
+#if SK_DEBUG |
#define VALIDATE validate |
#else |
static void VALIDATE(bool = false) {} |
@@ -117,7 +117,7 @@ void GrBufferAllocPool::unlock() { |
VALIDATE(); |
} |
-#if GR_DEBUG |
+#if SK_DEBUG |
void GrBufferAllocPool::validate(bool unusedBlockAllowed) const { |
if (NULL != fBufferPtr) { |
SkASSERT(!fBlocks.empty()); |