Index: tools/LazyDecodeBitmap.cpp |
diff --git a/tools/LazyDecodeBitmap.cpp b/tools/LazyDecodeBitmap.cpp |
index 3b6f17e741195e8e6ab362a5e737f932db4748cf..6c655da9e97624775c12a8d807c06882439edd1b 100644 |
--- a/tools/LazyDecodeBitmap.cpp |
+++ b/tools/LazyDecodeBitmap.cpp |
@@ -40,5 +40,5 @@ bool sk_tools::LazyDecodeBitmap(const void* src, size_t length, SkBitmap* dst) { |
// Only meaningful if platform has a default discardable |
// memory implementation that differs from the global DM pool. |
} |
- return SkInstallDiscardablePixelRef(gen.detach(), dst, pool); |
+ return SkInstallDiscardablePixelRef(gen.detach(), NULL, dst, pool); |
} |