Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 7d5607ce43e0cab5264c42c67b3336e94fe83709..3f61f89abebd21df1ca23361165a6a3bb52d1b22 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -101,7 +101,7 @@ static SkImage* createImage(ImageType imageType, GrContext* context, |
return NULL; // TODO |
case kCodec_ImageType: { |
SkBitmap bitmap; |
- bitmap.installPixels(info, addr, rowBytes, NULL, NULL); |
+ bitmap.installPixels(info, addr, rowBytes); |
SkAutoTUnref<SkData> src( |
SkImageEncoder::EncodeData(bitmap, SkImageEncoder::kPNG_Type, |
100)); |