Index: src/lazy/SkDiscardablePixelRef.cpp |
diff --git a/src/lazy/SkDiscardablePixelRef.cpp b/src/lazy/SkDiscardablePixelRef.cpp |
index b6dec1b3a1129b85ccccbb65edf50255bdc1bad3..b810c2b1839b9bc4d0cf031edbf9b470e60c844a 100644 |
--- a/src/lazy/SkDiscardablePixelRef.cpp |
+++ b/src/lazy/SkDiscardablePixelRef.cpp |
@@ -71,7 +71,7 @@ bool SkDiscardablePixelRef::onNewLockPixels(LockRec* rec) { |
SkPMColor colors[256]; |
int colorCount = 0; |
- const SkImageGenerator::Result result = fGenerator->getPixels(info, pixels, fRowBytes, |
+ const SkImageGenerator::Result result = fGenerator->getPixels(info, pixels, fRowBytes, NULL, |
colors, &colorCount); |
switch (result) { |
case SkImageGenerator::kSuccess: |