Index: src/gpu/GrStencilBuffer.cpp |
diff --git a/src/gpu/GrStencilBuffer.cpp b/src/gpu/GrStencilBuffer.cpp |
index ea7b4fa157a63324a36e0ff4c71eaba0b3f3a2cd..b288415301162bdc020846e4a2a406b48151ba82 100644 |
--- a/src/gpu/GrStencilBuffer.cpp |
+++ b/src/gpu/GrStencilBuffer.cpp |
@@ -10,10 +10,10 @@ |
#include "GrContext.h" |
#include "GrGpu.h" |
-#include "GrResourceCache.h" |
+#include "GrResourceCache2.h" |
void GrStencilBuffer::transferToCache() { |
- SkASSERT(NULL == this->getCacheEntry()); |
+ SkASSERT(!this->cacheAccess().isInCache()); |
this->getGpu()->getContext()->addStencilBuffer(this); |
} |