From 3054be16dfdb0d06233770cbfc338958edef44ea Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 10 Dec 2014 07:24:28 -0800 Subject: Remove canvas::NewRaster, and rename surface::NewRasterPMColor to N32Premul patch from issue 781403002 at patchset 20001 (http://crrev.com/781403002#ps20001) BUG=skia: TBR= re-landing after chrome fixes have landed Review URL: https://codereview.chromium.org/784223007 --- gm/fatpathfill.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/fatpathfill.cpp') diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp index ba6fffee12..176c7bf7ea 100644 --- a/gm/fatpathfill.cpp +++ b/gm/fatpathfill.cpp @@ -16,7 +16,7 @@ #define REPEAT_LOOP 5 static SkSurface* new_surface(int width, int height) { - return SkSurface::NewRasterPMColor(width, height); + return SkSurface::NewRasterN32Premul(width, height); } static void draw_pixel_centers(SkCanvas* canvas) { -- cgit v1.2.3