Index: src/lazy/SkDiscardablePixelRef.cpp |
diff --git a/src/lazy/SkDiscardablePixelRef.cpp b/src/lazy/SkDiscardablePixelRef.cpp |
index abd80f2e0ac0fb10234a958cfa746e37bb00a249..0878d00335d09e7fb7da12c64d2c0a7c02ed1ce2 100644 |
--- a/src/lazy/SkDiscardablePixelRef.cpp |
+++ b/src/lazy/SkDiscardablePixelRef.cpp |
@@ -89,7 +89,7 @@ bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, |
} |
SkASSERT(dst->config() != SkBitmap::kNo_Config); |
if (dst->empty()) { // Use a normal pixelref. |
- return dst->allocPixels(NULL, NULL); |
+ return dst->allocPixels(); |
} |
SkAutoTUnref<SkDiscardablePixelRef> ref( |
SkNEW_ARGS(SkDiscardablePixelRef, |