Index: samplecode/SamplePicture.cpp |
diff --git a/samplecode/SamplePicture.cpp b/samplecode/SamplePicture.cpp |
index e6969037fd4d09d76c574b3e00f38bf814ec9eaf..f242c21944b60ac932f049486015e95461504dfc 100644 |
--- a/samplecode/SamplePicture.cpp |
+++ b/samplecode/SamplePicture.cpp |
@@ -41,7 +41,7 @@ static SkBitmap load_bitmap() { |
SkAutoDataUnref data(SkData::NewFromFileName(path.c_str())); |
if (data.get() != NULL) { |
SkInstallDiscardablePixelRef(SkDecodingImageGenerator::Create( |
- data, SkDecodingImageGenerator::Options()), &bm, NULL); |
+ data, SkDecodingImageGenerator::Options()), &bm); |
} |
return bm; |
} |