| Index: tests/PixelRefTest.cpp
|
| diff --git a/tests/PixelRefTest.cpp b/tests/PixelRefTest.cpp
|
| index e0ffd7a6017537fa78b1f3f03a4bd519f3b8c7ec..3486898239870ce549bfb70a1a3eb7e6a492e551 100644
|
| --- a/tests/PixelRefTest.cpp
|
| +++ b/tests/PixelRefTest.cpp
|
| @@ -51,7 +51,7 @@ private:
|
| } // namespace
|
|
|
| DEF_TEST(PixelRef_GenIDChange, r) {
|
| - SkImageInfo info = { 10, 10, kPMColor_SkColorType, kPremul_SkAlphaType };
|
| + SkImageInfo info = SkImageInfo::MakePMPremul(10, 10);
|
|
|
| SkAutoTUnref<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, NULL));
|
|
|
|
|