aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/fatpathfill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/fatpathfill.cpp')
-rw-r--r--gm/fatpathfill.cpp2
1 files changed, 1 insertions, 1 deletions
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) {