Index: tests/SkImageTest.cpp |
diff --git a/tests/SkImageTest.cpp b/tests/SkImageTest.cpp |
index c058ef062bf471dbb6a7df024934e114a2971e6a..2f23b3f6619a16d2a261879f2411f3a4c1edeb23 100644 |
--- a/tests/SkImageTest.cpp |
+++ b/tests/SkImageTest.cpp |
@@ -26,7 +26,7 @@ DEF_TEST(SkImageFromBitmap_extractSubset, reporter) { |
canvas.drawIRect(r, p); |
SkBitmap dstBitmap; |
srcBitmap.extractSubset(&dstBitmap, r); |
- image.reset(SkNewImageFromBitmap(dstBitmap, true, NULL)); |
+ image.reset(SkNewImageFromRasterBitmap(dstBitmap, true, NULL)); |
} |
SkBitmap tgt; |