From dd9ea9262cb61b545fcf414fbde677eb2b62fee4 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 13 Jan 2014 20:17:58 +0000 Subject: add SkBitmap::installPixelRef() BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/129423002 git-svn-id: http://skia.googlecode.com/svn/trunk@13055 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PixelRefTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PixelRefTest.cpp') diff --git a/tests/PixelRefTest.cpp b/tests/PixelRefTest.cpp index e0ffd7a601..3486898239 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::MakePMPremul(10, 10); SkAutoTUnref pixelRef(SkMallocPixelRef::NewAllocate(info, 0, NULL)); -- cgit v1.2.3