Index: src/core/SkBitmapProcState.cpp |
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp |
index 8874e7b4452308e62bcb12e964f3e9d9660ce92f..3b83d075061af9e149c717a36f93e127a3aad1f5 100644 |
--- a/src/core/SkBitmapProcState.cpp |
+++ b/src/core/SkBitmapProcState.cpp |
@@ -359,17 +359,6 @@ bool SkBitmapProcState::lockBaseBitmap() { |
return true; |
} |
-void SkBitmapProcState::endContext() { |
- SkDELETE(fBitmapFilter); |
- fBitmapFilter = NULL; |
- fScaledBitmap.reset(); |
- |
- if (fScaledCacheID) { |
- SkScaledImageCache::Unlock(fScaledCacheID); |
- fScaledCacheID = NULL; |
- } |
-} |
- |
SkBitmapProcState::~SkBitmapProcState() { |
if (fScaledCacheID) { |
SkScaledImageCache::Unlock(fScaledCacheID); |