Index: tests/ReadPixelsTest.cpp |
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp |
index 804a7c4abe339216b93b0f5d7772e25706bbf26c..3e22f7c73c681956e4b58c96a3f3a720fc4340e1 100644 |
--- a/tests/ReadPixelsTest.cpp |
+++ b/tests/ReadPixelsTest.cpp |
@@ -238,7 +238,7 @@ static void init_bitmap(SkBitmap* bitmap, const SkIRect& rect, BitmapInit init, |
if (alloc) { |
bitmap->allocPixels(info); |
} else { |
- bitmap->setConfig(info, rowBytes); |
+ bitmap->setInfo(info, rowBytes); |
} |
} |