aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skhello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r--tools/skhello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skhello.cpp b/tools/skhello.cpp
index 9f054342a4..55748d2e1b 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<SkSurface> surface(SkSurface::NewRasterN32Premul(w, h));
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterPMColor(w, h));
doDraw(surface->getCanvas(), paint, text);
SkAutoTUnref<SkImage> image(surface->newImageSnapshot());