Index: src/lazy/SkCachingPixelRef.cpp |
diff --git a/src/lazy/SkCachingPixelRef.cpp b/src/lazy/SkCachingPixelRef.cpp |
index c59682854bc04e56e47ae9e504606387c95da69e..c14d033618446664a95810bcd991237060943c25 100644 |
--- a/src/lazy/SkCachingPixelRef.cpp |
+++ b/src/lazy/SkCachingPixelRef.cpp |
@@ -88,6 +88,6 @@ bool SkCachingPixelRef::onNewLockPixels(LockRec* rec) { |
void SkCachingPixelRef::onUnlockPixels() { |
SkASSERT(fScaledCacheId != NULL); |
- SkScaledImageCache::Unlock( static_cast<SkScaledImageCache::ID*>(fScaledCacheId)); |
+ SkScaledImageCache::Unlock(fScaledCacheId); |
fScaledCacheId = NULL; |
} |