Index: gm/fatpathfill.cpp |
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp |
index 44988795b4cb17b173df7dfaf53580129ac3ca37..8b892327a9b93d916315c26fe582c650a7ce13ab 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) { |