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