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