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 --- tools/skhello.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/skhello.cpp') diff --git a/tools/skhello.cpp b/tools/skhello.cpp index 55748d2e1b..9f054342a4 100644 --- a/tools/skhello.cpp +++ b/tools/skhello.cpp @@ -33,7 +33,7 @@ static void doDraw(SkCanvas* canvas, const SkPaint& paint, const char text[]) { static bool do_surface(int w, int h, const char path[], const char text[], const SkPaint& paint) { - SkAutoTUnref surface(SkSurface::NewRasterPMColor(w, h)); + SkAutoTUnref surface(SkSurface::NewRasterN32Premul(w, h)); doDraw(surface->getCanvas(), paint, text); SkAutoTUnref image(surface->newImageSnapshot()); -- cgit v1.2.3