| Index: tests/DrawBitmapRectTest.cpp
|
| diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp
|
| index 720155ca0c01a2f4d11443ac7f81a20b8197ed63..71ad2cf733612e4bae54375ab5c5bde7ff9cae47 100644
|
| --- a/tests/DrawBitmapRectTest.cpp
|
| +++ b/tests/DrawBitmapRectTest.cpp
|
| @@ -25,10 +25,7 @@ public:
|
|
|
| protected:
|
| virtual bool onGetInfo(SkImageInfo* info) SK_OVERRIDE {
|
| - info->fWidth = 100;
|
| - info->fHeight = 100;
|
| - info->fColorType = kN32_SkColorType;
|
| - info->fAlphaType = kPremul_SkAlphaType;
|
| + *info = SkImageInfo::MakeN32Premul(100, 100);
|
| return true;
|
| }
|
| // default onGetPixels() returns false, which is what we want.
|
|
|