From e13af711d4ff9031c9ed3054a4c33a56a0c62e1f Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Mon, 13 Jan 2014 20:39:14 +0000 Subject: Revert of https://codereview.chromium.org/132643007/ Reason for revert: broken tests TBR= NOTREECHECKS=true NOTRY=true BUG= Author: reed@google.com Review URL: https://codereview.chromium.org/134843008 git-svn-id: http://skia.googlecode.com/svn/trunk@13058 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/MallocPixelRefTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/MallocPixelRefTest.cpp') diff --git a/tests/MallocPixelRefTest.cpp b/tests/MallocPixelRefTest.cpp index 4f14f601cb..e169763dad 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 = SkImageInfo::MakeN32Premul(10, 13); + SkImageInfo info = {10, 13, kPMColor_SkColorType, kPremul_SkAlphaType}; { SkAutoTUnref pr( SkMallocPixelRef::NewAllocate(info, info.minRowBytes() - 1, NULL)); -- cgit v1.2.3