Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 837ff8c245474b3bef7d376b26fb6fdeab994557..22f01f92e81ce2076d517119887f8b344c79ddb7 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -1367,12 +1367,6 @@ void SkGpuDevice::internalDrawBitmap(const SkBitmap& bitmap, |
SkASSERT(bitmap.width() <= fContext->getMaxTextureSize() && |
bitmap.height() <= fContext->getMaxTextureSize()); |
- SkAutoLockPixels alp(bitmap, !bitmap.getTexture()); |
- if (!bitmap.getTexture() && !bitmap.readyToDraw()) { |
- SkDebugf("nothing to draw\n"); |
- return; |
- } |
- |
GrTexture* texture; |
SkAutoCachedTexture act(this, bitmap, ¶ms, &texture); |
if (NULL == texture) { |