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