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

Unified Diff: include/core/SkSurface.h

Issue 1192353002: remove deprecated NewRasterPMColor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkSurface.h
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
index 2df98657a5a7568f0f35c398aeb450c0ee533a6e..de84766647d993618c814e75a6bc216edd8e2e62 100644
--- a/include/core/SkSurface.h
+++ b/include/core/SkSurface.h
@@ -76,11 +76,6 @@ public:
* specified width and height, and populates the rest of info to match
* pixels in SkPMColor format.
*/
-#ifdef SK_SUPPORT_LEGACY_NewRasterPMColor
- static SkSurface* NewRasterPMColor(int width, int height, const SkSurfaceProps* props = NULL) {
- return NewRaster(SkImageInfo::MakeN32Premul(width, height), props);
- }
-#endif
static SkSurface* NewRasterN32Premul(int width, int height, const SkSurfaceProps* props = NULL) {
return NewRaster(SkImageInfo::MakeN32Premul(width, height), props);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698