Index: src/lazy/SkCachingPixelRef.cpp |
diff --git a/src/lazy/SkCachingPixelRef.cpp b/src/lazy/SkCachingPixelRef.cpp |
index fb30d051e165a4a992792703131a9f3912a33a0e..668f57ef302fa97aa7b66da9fbf8bcc28353cdb1 100644 |
--- a/src/lazy/SkCachingPixelRef.cpp |
+++ b/src/lazy/SkCachingPixelRef.cpp |
@@ -12,6 +12,7 @@ |
bool SkCachingPixelRef::Install(SkImageGenerator* generator, |
SkBitmap* dst) { |
SkImageInfo info; |
+ SkASSERT(generator != NULL); |
SkASSERT(dst != NULL); |
if ((NULL == generator) |
|| !(generator->getInfo(&info)) |