| Index: tests/DeviceLooperTest.cpp
|
| diff --git a/tests/DeviceLooperTest.cpp b/tests/DeviceLooperTest.cpp
|
| index ab5841b1bd32b76f84505b5fc12773c0ec3f8a36..5735043074d72b096d7dde04365404f3c0f71d34 100644
|
| --- a/tests/DeviceLooperTest.cpp
|
| +++ b/tests/DeviceLooperTest.cpp
|
| @@ -10,8 +10,8 @@
|
| #include "Test.h"
|
|
|
| static void make_bm(SkBitmap* bm, int w, int h) {
|
| - bm->setConfig(SkBitmap::kA8_Config, w, h);
|
| - bm->allocPixels();
|
| + bm->allocPixels(SkImageInfo::Make(w, h, kAlpha_8_SkColorType,
|
| + kPremul_SkAlphaType));
|
| }
|
|
|
| static bool equal(const SkRasterClip& a, const SkRasterClip& b) {
|
|
|