Index: src/gpu/GrLayerCache.cpp |
diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp |
index f90ab55a5eb9b44989ea378ae160e911e1fe8849..0481d144e585aa45758bfaa347446befbd2030dc 100644 |
--- a/src/gpu/GrLayerCache.cpp |
+++ b/src/gpu/GrLayerCache.cpp |
@@ -245,7 +245,6 @@ void GrLayerCache::unlock(GrCachedLayer* layer) { |
#endif |
} else { |
- fContext->unlockScratchTexture(layer->texture()); |
layer->setTexture(NULL, GrIRect16::MakeEmpty()); |
} |