Index: tests/CachedDecodingPixelRefTest.cpp |
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp |
index f97e89361fab1b19d734fcdda64c9b959ba16295..5cec233a1b48150a390e5de5e2d3f1b67aa33e45 100644 |
--- a/tests/CachedDecodingPixelRefTest.cpp |
+++ b/tests/CachedDecodingPixelRefTest.cpp |
@@ -146,11 +146,11 @@ static void test_three_encodings(skiatest::Reporter* reporter, |
//////////////////////////////////////////////////////////////////////////////// |
static bool install_skCachingPixelRef(SkData* encoded, SkBitmap* dst) { |
return SkCachingPixelRef::Install( |
- SkNEW_ARGS(SkDecodingImageGenerator, (encoded)), dst); |
+ SkNEW_ARGS(SkDecodingImageGenerator, (encoded, NULL)), dst); |
} |
static bool install_skDiscardablePixelRef(SkData* encoded, SkBitmap* dst) { |
// Use system-default discardable memory. |
- return SkDecodingImageGenerator::Install(encoded, dst, NULL); |
+ return SkDecodingImageGenerator::Install(encoded, dst, NULL, NULL); |
} |
//////////////////////////////////////////////////////////////////////////////// |