Chromium Code Reviews| Index: src/gpu/GrContext.cpp |
| =================================================================== |
| --- src/gpu/GrContext.cpp (revision 10052) |
| +++ src/gpu/GrContext.cpp (working copy) |
| @@ -513,7 +513,7 @@ |
| // Conceptually, the cache entry is going to assume responsibility |
| // for the creation ref. |
| - GrAssert(1 == texture->getRefCnt()); |
| + GrAssert(texture->unique()); |
| // Since this texture came from an AutoScratchTexture it should |
| // still be in the exclusive pile |