From d28ba8010c6058bf073f7e815d5b2d7fdf698601 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 20 Sep 2013 19:33:52 +0000 Subject: promote SkImage::AlphaType to SkAlphaType BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/24130009 git-svn-id: http://skia.googlecode.com/svn/trunk@11421 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/DrawPathTest.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/DrawPathTest.cpp') diff --git a/tests/DrawPathTest.cpp b/tests/DrawPathTest.cpp index 9f440f6231..40f4a047b2 100644 --- a/tests/DrawPathTest.cpp +++ b/tests/DrawPathTest.cpp @@ -36,10 +36,7 @@ static void test_big_aa_rect(skiatest::Reporter* reporter) { output.setConfig(SkBitmap::kARGB_8888_Config, 1, 1, 4); output.setPixels(pixel); - SkImage::Info info = { - 300, 33300, SkImage::kPMColor_ColorType, SkImage::kPremul_AlphaType - }; - SkSurface* surf = SkSurface::NewRaster(info); + SkSurface* surf = SkSurface::NewRasterPMColor(300, 33300); SkCanvas* canvas = surf->getCanvas(); SkRect r = { 0, 33000, 300, 33300 }; -- cgit v1.2.3