diff options
author | reed <reed@google.com> | 2014-12-10 07:24:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-10 07:24:28 -0800 |
commit | 3054be16dfdb0d06233770cbfc338958edef44ea (patch) | |
tree | ea2631250a39b25a550114491c9b980b47c14f70 /tools/skhello.cpp | |
parent | 72b0c05fc19eb159c0adbf20ea87ded68c827ca3 (diff) |
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
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r-- | tools/skhello.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<SkSurface> surface(SkSurface::NewRasterPMColor(w, h)); + SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(w, h)); doDraw(surface->getCanvas(), paint, text); SkAutoTUnref<SkImage> image(surface->newImageSnapshot()); |