Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index 1ef32abb95ee12986a4ddb65c4047d18cc4012b5..98cd90e95033700a723cf13abe494dc967f491e4 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -1185,7 +1185,7 @@ |
// This bitmap has a width and height but no pixels. As a result, attempting to record it will |
// fail. |
SkBitmap bm; |
- bm.setInfo(SkImageInfo::MakeN32Premul(100, 100)); |
+ bm.setConfig(SkImageInfo::MakeN32Premul(100, 100)); |
SkPictureRecorder recorder; |
SkCanvas* recordingCanvas = recorder.beginRecording(100, 100, NULL, 0); |
recordingCanvas->drawBitmap(bm, 0, 0); |
@@ -1616,7 +1616,7 @@ |
static void test_draw_bitmaps(SkCanvas* canvas) { |
SkBitmap empty; |
draw_bitmaps(empty, canvas); |
- empty.setInfo(SkImageInfo::MakeN32Premul(10, 10)); |
+ empty.setConfig(SkImageInfo::MakeN32Premul(10, 10)); |
draw_bitmaps(empty, canvas); |
} |