Index: tests/PixelRefTest.cpp |
diff --git a/tests/PixelRefTest.cpp b/tests/PixelRefTest.cpp |
index e0ffd7a6017537fa78b1f3f03a4bd519f3b8c7ec..f2df03b901341c7b14228f276ea3bfe5a449ea34 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::MakeN32Premul(10, 10); |
SkAutoTUnref<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, NULL)); |