Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: gm/fatpathfill.cpp

Issue 784223007: Remove canvas::NewRaster, and rename surface::NewRasterPMColor to N32Premul (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gyp/skia_for_chromium_defines.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/fatpathfill.cpp
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp
index ba6fffee128068fc251a674a36586c3914bed685..176c7bf7ea67dff27a916dfcbbd7c79ac0869f49 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) {
« no previous file with comments | « no previous file | gyp/skia_for_chromium_defines.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698