aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PixelRefTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PixelRefTest.cpp')
-rw-r--r--tests/PixelRefTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PixelRefTest.cpp b/tests/PixelRefTest.cpp
index f2df03b901..e0ffd7a601 100644
--- a/tests/PixelRefTest.cpp
+++ b/tests/PixelRefTest.cpp
@@ -51,7 +51,7 @@ private:
} // namespace
DEF_TEST(PixelRef_GenIDChange, r) {
- SkImageInfo info = SkImageInfo::MakeN32Premul(10, 10);
+ SkImageInfo info = { 10, 10, kPMColor_SkColorType, kPremul_SkAlphaType };
SkAutoTUnref<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, NULL));