Index: tests/MallocPixelRefTest.cpp |
diff --git a/tests/MallocPixelRefTest.cpp b/tests/MallocPixelRefTest.cpp |
index 4f14f601cb4e46301b5032cd206f5e0e3d42b2dd..e169763dad8f07fdca79abf472b995ee0bae1383 100644 |
--- a/tests/MallocPixelRefTest.cpp |
+++ b/tests/MallocPixelRefTest.cpp |
@@ -23,7 +23,7 @@ |
*/ |
DEF_TEST(MallocPixelRef, reporter) { |
REPORTER_ASSERT(reporter, true); |
- SkImageInfo info = SkImageInfo::MakeN32Premul(10, 13); |
+ SkImageInfo info = {10, 13, kPMColor_SkColorType, kPremul_SkAlphaType}; |
{ |
SkAutoTUnref<SkMallocPixelRef> pr( |
SkMallocPixelRef::NewAllocate(info, info.minRowBytes() - 1, NULL)); |