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