Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index 9ffb790507e427dff7cc800827953dfe15b1d49b..747b23b9abab5cf778aa197e079c127d2323b563 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -40,7 +40,7 @@ static SkSurface* createSurface(SkColor color) { |
static SkPMColor read_pixel(SkSurface* surface, int x, int y) { |
SkPMColor pixel = 0; |
SkBitmap bitmap; |
- bitmap.installPixels(SkImageInfo::MakeN32Premul(1, 1), &pixel, 4, NULL, NULL); |
+ bitmap.installPixels(SkImageInfo::MakeN32Premul(1, 1), &pixel, 4); |
SkCanvas canvas(bitmap); |
SkPaint paint; |