diff options
Diffstat (limited to 'gm/fatpathfill.cpp')
-rw-r--r-- | gm/fatpathfill.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp index 44988795b4..8b892327a9 100644 --- a/gm/fatpathfill.cpp +++ b/gm/fatpathfill.cpp @@ -16,13 +16,7 @@ #define REPEAT_LOOP 5 static SkSurface* new_surface(int width, int height) { - SkImage::Info info = { - width, - height, - SkImage::kPMColor_ColorType, - SkImage::kPremul_AlphaType - }; - return SkSurface::NewRaster(info); + return SkSurface::NewRasterPMColor(width, height); } static void draw_pixel_centers(SkCanvas* canvas) { |